From c305d55c7f321c01b4d135ef6d41879fd5f8e9f5 Mon Sep 17 00:00:00 2001 From: lijunlong Date: Tue, 10 Feb 2026 09:08:50 +0800 Subject: optimize: rename cjson.decoce_allow_comments to cjson.decocde_allow_comment. reslove two warnings and update the doc. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'README.md') 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 * [encode_skip_unsupported_value_types](#encode_skip_unsupported_value_types) * [encode_indent](#encode_indent) * [decode_array_with_array_mt](#decode_array_with_array_mt) + * [decode_allow_comment](#decode_allow_comment) Description =========== @@ -263,9 +264,9 @@ cjson.encode(t) -- {"my_array":[]} properly re-encoded as an array [Back to TOC](#table-of-contents) -decode_allow_comments +decode_allow_comment -------------------------- -**syntax:** `cjson.decode_allow_comments(enabled)` +**syntax:** `cjson.decode_allow_comment(enabled)` **default:** false -- cgit v1.2.3-55-g6feb