https://github.com/songquanpeng/json-lib
[WIP] Yet another json lib for C/Cpp.
https://github.com/songquanpeng/json-lib
Last synced: 5 months ago
JSON representation
[WIP] Yet another json lib for C/Cpp.
- Host: GitHub
- URL: https://github.com/songquanpeng/json-lib
- Owner: songquanpeng
- Created: 2021-06-27T08:19:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-27T10:15:32.000Z (over 4 years ago)
- Last Synced: 2025-02-26T09:38:31.284Z (8 months ago)
- Language: C
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JSON Lib
## JSON Grammar
```
JSON-text = ws value ws
ws = *(%x20 / %x09 / %x0A / %x0D)
value = null / false / true / number
null = "null"
false = "false"
true = "true"
number = [ "-" ] int [ frac ] [ exp ]
int = "0" / digit1-9 *digit
frac = "." 1*digit
exp = ("e" / "E") ["-" / "+"] 1*digit
```## Reference
https://github.com/miloyip/json-tutorial