summaryrefslogtreecommitdiff
path: root/Data/DefaultContent/Libraries/LiteJson/README.md
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-15 11:54:17 +0800
committerchai <chaifix@163.com>2021-11-15 11:54:17 +0800
commit30f2f46474bf4eda5f10d4c64a07cde01d469f66 (patch)
tree6ff2ed3262037b3c9bae2d2b9059a1d65773f31c /Data/DefaultContent/Libraries/LiteJson/README.md
parent4c36bed53fe63ae6056730b3ecad2573f03d88f8 (diff)
*rename DefaultContent -> BuiltIn
Diffstat (limited to 'Data/DefaultContent/Libraries/LiteJson/README.md')
-rw-r--r--Data/DefaultContent/Libraries/LiteJson/README.md46
1 files changed, 0 insertions, 46 deletions
diff --git a/Data/DefaultContent/Libraries/LiteJson/README.md b/Data/DefaultContent/Libraries/LiteJson/README.md
deleted file mode 100644
index 96b9b66..0000000
--- a/Data/DefaultContent/Libraries/LiteJson/README.md
+++ /dev/null
@@ -1,46 +0,0 @@
-# ![json.lua](https://cloud.githubusercontent.com/assets/3920290/9281532/99e5e0cc-42bd-11e5-8fce-eaff2f7fc681.png)
-A lightweight JSON library for Lua
-
-
-## Features
-* Implemented in pure Lua: works with 5.1, 5.2, 5.3 and JIT
-* Fast: generally outperforms other pure Lua JSON implementations
- ([benchmark scripts](bench/))
-* Tiny: around 280sloc, 9kb
-* Proper error messages, *eg:* `expected '}' or ',' at line 203 col 30`
-
-
-## Usage
-The [json.lua](json.lua?raw=1) file should be dropped into an existing project
-and required by it:
-```lua
-json = require "json"
-```
-The library provides the following functions:
-
-#### json.encode(value)
-Returns a string representing `value` encoded in JSON.
-```lua
-json.encode({ 1, 2, 3, { x = 10 } }) -- Returns '[1,2,3,{"x":10}]'
-```
-
-#### json.decode(str)
-Returns a value representing the decoded JSON string.
-```lua
-json.decode('[1,2,3,{"x":10}]') -- Returns { 1, 2, 3, { x = 10 } }
-```
-
-## Notes
-* Trying to encode values which are unrepresentable in JSON will never result
- in type conversion or other magic: sparse arrays, tables with mixed key types
- or invalid numbers (NaN, -inf, inf) will raise an error
-* `null` values contained within an array or object are converted to `nil` and
- are therefore lost upon decoding
-* *Pretty* encoding is not supported, `json.encode()` only encodes to a compact
- format
-
-
-## License
-This library is free software; you can redistribute it and/or modify it under
-the terms of the MIT license. See [LICENSE](LICENSE) for details.
-