aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorlijunlong <lijunlong@openresty.com>2026-02-10 09:08:50 +0800
committerlijunlong <lijunlong@openresty.com>2026-02-10 09:08:52 +0800
commitc305d55c7f321c01b4d135ef6d41879fd5f8e9f5 (patch)
treea7c5de1ef4ff7a5e83d55e60fa0e173832308575 /README.md
parentfed8c8356be4d94ceb55f2880bdb77fd9b55ef1e (diff)
downloadlua-cjson-c305d55c7f321c01b4d135ef6d41879fd5f8e9f5.tar.gz
lua-cjson-c305d55c7f321c01b4d135ef6d41879fd5f8e9f5.tar.bz2
lua-cjson-c305d55c7f321c01b4d135ef6d41879fd5f8e9f5.zip
optimize: rename cjson.decoce_allow_comments to cjson.decocde_allow_comment.HEADmaster
reslove two warnings and update the doc.
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 233a094..08398cb 100644
--- a/README.md
+++ b/README.md
@@ -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
22Description 23Description
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
266decode_allow_comments 267decode_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