diff options
| author | Mark Pulford <mark@kyne.com.au> | 2011-12-20 00:16:19 +1030 |
|---|---|---|
| committer | Mark Pulford <mark@kyne.com.au> | 2011-12-20 00:16:19 +1030 |
| commit | d0d9c285ed80fd869e6c75290c9f103e80465c42 (patch) | |
| tree | f505f4127ab106ee25c25305c2f46f8c607e8107 | |
| parent | fe25699a3ba84a35fac58bc7236ab6b3ff3e7ba3 (diff) | |
| download | lua-cjson-d0d9c285ed80fd869e6c75290c9f103e80465c42.tar.gz lua-cjson-d0d9c285ed80fd869e6c75290c9f103e80465c42.tar.bz2 lua-cjson-d0d9c285ed80fd869e6c75290c9f103e80465c42.zip | |
Remove cjson prefix from function headings
Diffstat (limited to '')
| -rw-r--r-- | manual.txt | 36 |
1 files changed, 18 insertions, 18 deletions
| @@ -155,8 +155,8 @@ keep = cjson.encode_keep_buffer([keep]) | |||
| 155 | ------------ | 155 | ------------ |
| 156 | 156 | ||
| 157 | 157 | ||
| 158 | cjson.decode | 158 | decode |
| 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 | ||
| 196 | cjson.encode | 196 | encode |
| 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 | ||
| 292 | cjson.encode_keep_buffer | 292 | encode_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]] |
| 309 | cjson.encode_max_depth | 309 | encode_max_depth |
| 310 | ~~~~~~~~~~~~~~~~~~~~~~ | 310 | ~~~~~~~~~~~~~~~~ |
| 311 | 311 | ||
| 312 | [source,lua] | 312 | [source,lua] |
| 313 | ------------ | 313 | ------------ |
| @@ -328,8 +328,8 @@ a = {}; b = { a }; a[1] = b | |||
| 328 | Once the maximum table depth has been reached Lua CJSON will throw an error. | 328 | Once the maximum table depth has been reached Lua CJSON will throw an error. |
| 329 | 329 | ||
| 330 | 330 | ||
| 331 | cjson.encode_number_precision | 331 | encode_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]] |
| 348 | cjson.encode_sparse_array | 348 | encode_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]] |
| 393 | cjson.refuse_invalid_numbers | 393 | refuse_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. | |||
| 422 | API (Variables) | 422 | API (Variables) |
| 423 | --------------- | 423 | --------------- |
| 424 | 424 | ||
| 425 | cjson.null | 425 | null |
| 426 | ~~~~~~~~~~ | 426 | ~~~~ |
| 427 | 427 | ||
| 428 | Lua CJSON decodes JSON +null+ as a Lua +lightuserdata+ NULL pointer. | 428 | Lua 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 | ||
| 432 | cjson.version | 432 | version |
| 433 | ~~~~~~~~~~~~~ | 433 | ~~~~~~~ |
| 434 | 434 | ||
| 435 | The version number of the Lua CJSON module in use can be found in | 435 | The version number of the Lua CJSON module in use can be found in |
| 436 | +cjson.version+. | 436 | +cjson.version+. |
