aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-12-20 00:16:19 +1030
committerMark Pulford <mark@kyne.com.au>2011-12-20 00:16:19 +1030
commitd0d9c285ed80fd869e6c75290c9f103e80465c42 (patch)
treef505f4127ab106ee25c25305c2f46f8c607e8107
parentfe25699a3ba84a35fac58bc7236ab6b3ff3e7ba3 (diff)
downloadlua-cjson-d0d9c285ed80fd869e6c75290c9f103e80465c42.tar.gz
lua-cjson-d0d9c285ed80fd869e6c75290c9f103e80465c42.tar.bz2
lua-cjson-d0d9c285ed80fd869e6c75290c9f103e80465c42.zip
Remove cjson prefix from function headings
-rw-r--r--manual.txt36
1 files changed, 18 insertions, 18 deletions
diff --git a/manual.txt b/manual.txt
index 8a894c0..594f139 100644
--- a/manual.txt
+++ b/manual.txt
@@ -155,8 +155,8 @@ keep = cjson.encode_keep_buffer([keep])
155------------ 155------------
156 156
157 157
158cjson.decode 158decode
159~~~~~~~~~~~~ 159~~~~~~
160 160
161[source,lua] 161[source,lua]
162------------ 162------------
@@ -193,8 +193,8 @@ numeric key will be stored as a Lua +string+. Any code assuming type
193+number+ may break. 193+number+ may break.
194 194
195 195
196cjson.encode 196encode
197~~~~~~~~~~~~ 197~~~~~~
198 198
199[source,lua] 199[source,lua]
200------------ 200------------
@@ -289,8 +289,8 @@ json_text = cjson.encode(value)
289-- Returns: '[true,{"foo":"bar"}]' 289-- Returns: '[true,{"foo":"bar"}]'
290 290
291 291
292cjson.encode_keep_buffer 292encode_keep_buffer
293~~~~~~~~~~~~~~~~~~~~~~~~ 293~~~~~~~~~~~~~~~~~~
294 294
295[source,lua] 295[source,lua]
296------------ 296------------
@@ -306,8 +306,8 @@ option to +false+ will cause the buffer to be freed after each call to
306 306
307 307
308[[encode_max_depth]] 308[[encode_max_depth]]
309cjson.encode_max_depth 309encode_max_depth
310~~~~~~~~~~~~~~~~~~~~~~ 310~~~~~~~~~~~~~~~~
311 311
312[source,lua] 312[source,lua]
313------------ 313------------
@@ -328,8 +328,8 @@ a = {}; b = { a }; a[1] = b
328Once the maximum table depth has been reached Lua CJSON will throw an error. 328Once the maximum table depth has been reached Lua CJSON will throw an error.
329 329
330 330
331cjson.encode_number_precision 331encode_number_precision
332~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 332~~~~~~~~~~~~~~~~~~~~~~~
333 333
334[source,lua] 334[source,lua]
335------------ 335------------
@@ -345,8 +345,8 @@ heavy JSON conversions by up to 50%.
345 345
346 346
347[[encode_sparse_array]] 347[[encode_sparse_array]]
348cjson.encode_sparse_array 348encode_sparse_array
349~~~~~~~~~~~~~~~~~~~~~~~~~ 349~~~~~~~~~~~~~~~~~~~
350 350
351[source,lua] 351[source,lua]
352------------ 352------------
@@ -390,8 +390,8 @@ cjson.encode({ [1000] = "excessively sparse" })
390 390
391 391
392[[refuse_invalid_numbers]] 392[[refuse_invalid_numbers]]
393cjson.refuse_invalid_numbers 393refuse_invalid_numbers
394~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 394~~~~~~~~~~~~~~~~~~~~~~
395 395
396[source,lua] 396[source,lua]
397------------ 397------------
@@ -422,15 +422,15 @@ Disabled for decoding:: All numbers supported by +strtod+(3) will be parsed.
422API (Variables) 422API (Variables)
423--------------- 423---------------
424 424
425cjson.null 425null
426~~~~~~~~~~ 426~~~~
427 427
428Lua CJSON decodes JSON +null+ as a Lua +lightuserdata+ NULL pointer. 428Lua CJSON decodes JSON +null+ as a Lua +lightuserdata+ NULL pointer.
429+cjson.null+ is provided for comparison. 429+cjson.null+ is provided for comparison.
430 430
431 431
432cjson.version 432version
433~~~~~~~~~~~~~ 433~~~~~~~
434 434
435The version number of the Lua CJSON module in use can be found in 435The version number of the Lua CJSON module in use can be found in
436+cjson.version+. 436+cjson.version+.