aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README13
1 files changed, 13 insertions, 0 deletions
diff --git a/README b/README
index 3fa7595..b4f5bcd 100644
--- a/README
+++ b/README
@@ -204,6 +204,19 @@ the application. Eg:
204 a = {}; b = { a }; a[1] = b 204 a = {}; b = { a }; a[1] = b
205 205
206 206
207Number precision
208----------------
209
210 precision = cjson.encode_number_precision([precision])
211 -- "precision" must be between 1 and 14 (inclusive)
212
213By default CJSON will use up to 14 digits for precision when
214converting a number to text.
215
216Reducing number precision to 3 can improve performance of number
217heavy conversions by up to 50%.
218
219
207Persistent encoding buffer 220Persistent encoding buffer
208------------------------- 221-------------------------
209 222