Update docs/mkdocs/docs/features/trailing_commas.md
Co-authored-by: Niels Lohmann <niels.lohmann@gmail.com> Signed-off-by: chirsz <chirsz-ever@outlook.com>
This commit is contained in:
parent
86d28891f5
commit
7fb2ff2988
@ -1,6 +1,6 @@
|
||||
# Trailing Commas
|
||||
|
||||
Like comments, this library does not support trailing commas in arrays and objects *by default*.
|
||||
Like [comments](comments.md), this library does not support trailing commas in arrays and objects *by default*.
|
||||
|
||||
You can set parameter `ignore_trailing_commas` to `#!cpp true` in the [`parse`](../api/basic_json/parse.md) function to allow trailing commas in arrays and objects. Note that a single comma as the only content of the array or object (`[,]` or `{,}`) is not allowed, and multiple trailing commas (`[1,,]`) are not allowed either.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user