Skip to content

Commit

Permalink
chore: fix typo in api.go
Browse files Browse the repository at this point in the history
  • Loading branch information
spacewander authored and liuq19 committed Dec 4, 2024
1 parent 159ab7b commit 6c24c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ type Config struct {
// CopyString indicates decoder to decode string values by copying instead of referring.
CopyString bool

// ValidateString indicates decoder and encoder to valid string values: decoder will return errors
// ValidateString indicates decoder and encoder to validate string values: decoder will return errors
// when unescaped control chars(\u0000-\u001f) in the string value of JSON.
ValidateString bool

Expand Down

0 comments on commit 6c24c84

Please sign in to comment.