summaryrefslogtreecommitdiff
path: root/manual.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use Javascript compat values for Infinity/NaNMark Pulford2012-03-041-4/+5
| | | | | Use Javascript compatible values for Infinity/NaN when encoding invalid numbers.
* Add release notes for 2.1.0 release2.1.0Mark Pulford2012-03-041-1/+1
|
* Bump version to 2.1develMark Pulford2012-03-041-4/+4
|
* Add cjson.safe module to suppress exceptionsMark Pulford2012-03-041-12/+22
| | | | Add cjson.safe module to suppress exceptions during JSON conversions.
* Update release date for 2.0.0 to 22 Jan 20122.0.0Mark Pulford2012-03-041-1/+1
|
* Remove ENABLE_CJSON_GLOBAL optionMark Pulford2012-03-041-2/+0
| | | | | Remove ENABLE_CJSON_GLOBAL option since it is not recommended or necessary and doesn't need to be discussed in the manual.
* Escape tilde characters in documentationMark Pulford2012-03-041-5/+5
|
* Update manual for clarity and consistencyMark Pulford2012-03-041-189/+234
|
* Ignore DISABLE_INVALID_NUMBERS with builtin fpconvMark Pulford2012-03-041-1/+2
|
* Rename USE_INTERNAL_DTOA to USE_INTERNAL_FPCONVMark Pulford2012-03-041-1/+1
|
* Bump version to 2.0develMark Pulford2012-03-041-4/+4
| | | | | Bump version to 2.0devel due to significant changes and updated API (runtime config not fully backwards compatible).
* Bump development version to 1.1develMark Pulford2012-03-041-4/+4
|
* Disable registration of cjson global variableMark Pulford2012-03-041-2/+2
| | | | | | | Disable registration of cjson module table global variable in the default build. Automatically creating a variable in the global namespace can cause issues for other software and is no longer recommended with Lua.
* Use Lua CJSON instead of CJSON in documentationMark Pulford2012-03-041-3/+3
|
* Change default nesting limits to 1000Mark Pulford2012-03-041-3/+3
| | | | | Increase the default nesting limits to reduce the chance of accidently throwing an error on valid JSON out of the box.
* Add option to encode invalid numbers as "null"Mark Pulford2012-03-041-39/+57
| | | | | Deprecate and replace refuse_invalid_numbers() with encode_invalid_numbers() and decode_invalid_numbers().
* Add configurable decode nesting limitMark Pulford2012-03-041-0/+26
| | | | | | | | | | | Lua 5.2 is able to extend the Lua stack much further than earlier versions. Recent testing shows it is possible for Lua CJSON to hit the process stack limit and segfault. Add a configurable JSON object/array nesting limit to prevent running out of process stack space. The current limit is 20 (same as encode). Add decode_max_depth() configuration function.
* Fix typo in manualMark Pulford2012-03-041-2/+2
|
* Document dtoa build optionsMark Pulford2012-03-041-0/+16
|
* Fix typos (lists, hexadecimal)Mark Pulford2012-01-021-7/+7
|
* Update all package descriptions for consistencyMark Pulford2012-01-021-4/+5
|
* Add build option to disable invalid numbersMark Pulford2012-01-011-9/+12
| | | | | Windows MinGW doesn't convert Infinity/NaN/hexadecimal numbers. Add DISABLE_INVALID_NUMBERS build option option to disable invalid numbers.
* Sanitise locale code, comments and documentationMark Pulford2012-01-011-8/+20
|
* Add support for Lua 5.2 and cjson.newMark Pulford2011-12-301-14/+47
| | | | | | | | | | | | | | Update all Lua scripts to use new module init style everywhere: local json = require "cjson" Lua CJSON does not register a global table under Lua 5.2. The global table can be disabled under Lua 5.1 with DISABLE_CJSON_GLOBAL. Other changes: - Store CJSON configuration as an upvalue for each function. - Add "cjson.new" function to create another module table with a separate configuration. - Add _NAME and _VERSION variables.
* Remove POSIX locale workaroundMark Pulford2011-12-291-14/+0
|
* Clarify optional args and return valuesMark Pulford2011-12-201-0/+15
|
* Remove cjson prefix from function headingsMark Pulford2011-12-201-18/+18
|
* Add UTF-8 caution to manual (and misc changes)Mark Pulford2011-12-201-10/+24
|
* Update manual (various minor improvements)Mark Pulford2011-12-151-84/+79
| | | | | | | - Fix typo (keep_encode_buffer -> encode_keep_buffer) - Update for consistency - Remove duplicate sparse table example - Change manual to use horizontal item lists
* Add CMake build documentationMark Pulford2011-12-151-7/+26
|
* Update examples in documentationMark Pulford2011-12-151-32/+16
| | | | | - Remove block quotes - Add titles
* Rewrite cjson.encode_sparse_array documentationMark Pulford2011-12-151-29/+25
|
* Clean up build options documentation in manualMark Pulford2011-12-151-8/+7
|
* Automate package releases with build-packages.shMark Pulford2011-12-151-5/+4
| | | | | | build-packages.sh has several advantages: - Automatically bumps version numbers - Builds HTML documentation on the fly
* Remove quirks section from manualMark Pulford2011-12-141-74/+55
| | | | | | | | Merge quirks section into: - Build overview (locales) - API docs Add API section for variables.
* Order API functions in manual alphabeticallyMark Pulford2011-12-131-81/+81
|
* Convert documentation to AsciiDocMark Pulford2011-12-121-0/+460
- Rename README to manual.txt and add AsciiDoc markup - Rewrite some sections of documentation (more outstanding) - Add "doc" Makefile target - Update RPM spec file to include HTML output