diff options
| author | lijunlong <lijunlong@openresty.com> | 2026-02-10 09:08:50 +0800 |
|---|---|---|
| committer | lijunlong <lijunlong@openresty.com> | 2026-02-10 09:08:52 +0800 |
| commit | c305d55c7f321c01b4d135ef6d41879fd5f8e9f5 (patch) | |
| tree | a7c5de1ef4ff7a5e83d55e60fa0e173832308575 /README.md | |
| parent | fed8c8356be4d94ceb55f2880bdb77fd9b55ef1e (diff) | |
| download | lua-cjson-c305d55c7f321c01b4d135ef6d41879fd5f8e9f5.tar.gz lua-cjson-c305d55c7f321c01b4d135ef6d41879fd5f8e9f5.tar.bz2 lua-cjson-c305d55c7f321c01b4d135ef6d41879fd5f8e9f5.zip | |
reslove two warnings and update the doc.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -18,6 +18,7 @@ Table of Contents | |||
| 18 | * [encode_skip_unsupported_value_types](#encode_skip_unsupported_value_types) | 18 | * [encode_skip_unsupported_value_types](#encode_skip_unsupported_value_types) |
| 19 | * [encode_indent](#encode_indent) | 19 | * [encode_indent](#encode_indent) |
| 20 | * [decode_array_with_array_mt](#decode_array_with_array_mt) | 20 | * [decode_array_with_array_mt](#decode_array_with_array_mt) |
| 21 | * [decode_allow_comment](#decode_allow_comment) | ||
| 21 | 22 | ||
| 22 | Description | 23 | Description |
| 23 | =========== | 24 | =========== |
| @@ -263,9 +264,9 @@ cjson.encode(t) -- {"my_array":[]} properly re-encoded as an array | |||
| 263 | 264 | ||
| 264 | [Back to TOC](#table-of-contents) | 265 | [Back to TOC](#table-of-contents) |
| 265 | 266 | ||
| 266 | decode_allow_comments | 267 | decode_allow_comment |
| 267 | -------------------------- | 268 | -------------------------- |
| 268 | **syntax:** `cjson.decode_allow_comments(enabled)` | 269 | **syntax:** `cjson.decode_allow_comment(enabled)` |
| 269 | 270 | ||
| 270 | **default:** false | 271 | **default:** false |
| 271 | 272 | ||
