diff options
Diffstat (limited to '')
-rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -14,6 +14,7 @@ Table of Contents | |||
14 | * [array_mt](#array_mt) | 14 | * [array_mt](#array_mt) |
15 | * [empty_array_mt](#empty_array_mt) | 15 | * [empty_array_mt](#empty_array_mt) |
16 | * [encode_number_precision](#encode_number_precision) | 16 | * [encode_number_precision](#encode_number_precision) |
17 | * [encode_escape_forward_slash](#encode_escape_forward_slash) | ||
17 | * [decode_array_with_array_mt](#decode_array_with_array_mt) | 18 | * [decode_array_with_array_mt](#decode_array_with_array_mt) |
18 | 19 | ||
19 | Description | 20 | Description |
@@ -158,6 +159,18 @@ This fork allows encoding of numbers with a `precision` up to 16 decimals (vs. 1 | |||
158 | 159 | ||
159 | [Back to TOC](#table-of-contents) | 160 | [Back to TOC](#table-of-contents) |
160 | 161 | ||
162 | encode_escape_forward_slash | ||
163 | --------------------------- | ||
164 | **syntax:** `cjson.encode_escape_forward_slash(enabled)` | ||
165 | |||
166 | **default:** true | ||
167 | |||
168 | If enabled, forward slash '/' will be encoded as '\/'. | ||
169 | |||
170 | If disabled, forward slash '/' will be encoded as '/' (no escape is applied). | ||
171 | |||
172 | [Back to TOC](#table-of-contents) | ||
173 | |||
161 | decode_array_with_array_mt | 174 | decode_array_with_array_mt |
162 | -------------------------- | 175 | -------------------------- |
163 | **syntax:** `cjson.decode_array_with_array_mt(enabled)` | 176 | **syntax:** `cjson.decode_array_with_array_mt(enabled)` |