TheTechsTech
adefffe1b0
add various json routines into single functions.
...
- add `json_encode` for object creation functions, using `printf` like formats.
- add `json_for` for array creation functions, using `printf` like formats.
- add `is_json` basic check not NULL and type not JSONError.
- add `json_decode` combines` json_parse_string_with_comments` and `json_parse_string`
- add `json_serialize` combines `json_serialize_to_string_pretty` and `json_serialize_to_string`
- add `encode_decode_example()` to readme, show shorter syntax to `serialization_example()`
- add/enable `encode_decode_example()` into tests.c
Note: This library is embed into https://github.com/zelang-dev/c-coroutine/blob/main/src/json.c and https://github.com/zelang-dev/c-coroutine/blob/main/examples/co_json.c where all memory and I/O is managed difference.
9 months ago
Krzysztof Gabis
8ed9ff63b0
Update README.md
3 years ago
Tim Gates
8beeb5ea4d
docs: fix simple typo, lighweight -> lightweight ( #147 )
...
There is a small typo in README.md.
Should read `lightweight` rather than `lighweight`.
4 years ago
Krzysztof Gabis
8d8850d9d5
Update README.md
5 years ago
Krzysztof Gabis
809ef4b7d8
Update README.md
6 years ago
Krzysztof Gabis
2e2e36651d
Shamelesser plug
6 years ago
Krzysztof Gabis
395e70d85b
Shameless plug
6 years ago
tbeu
1839d0de54
Fix typos
7 years ago
Krzysztof Gabis
dd9eed2af2
Updates README.md because github changed it's markdown renderer.
8 years ago
Krzysztof Gabis
b61c03e614
Updates README.md.
8 years ago
Krzysztof Gabis
f4cfcd7699
Updates serialization example and readme.md
9 years ago
Michael Sproul
fcf0b810ba
Marked various files as not executable.
...
Also updated the .gitignore file to ignore object code,
which is particularly useful when using this project as a
git submodule.
10 years ago
Krzysztof Gabis
1058e3b2c0
Fixed bug in example code.
10 years ago
Krzysztof Gabis
e4ac46318e
Fixed memory leak in example.
10 years ago
Krzysztof Gabis
638190d6a0
Merged changes from parson-devel (serialization, copying, comparing, validation, creating values).
10 years ago
Krzysztof Gabis
55856a2eab
Changes to readme.
10 years ago
Krzysztof Gabis
c707051778
Added surrogate pairs support (JSON support is full now), removed PARSON_VERSION macro.
11 years ago
Krzysztof Gabis
d1ca0ed4f3
Readme file update.
12 years ago
Krzysztof Gabis
c24b1a1ad0
Fixed type mismatch in array indexing variables, updated readme file.
...
Also removed trailing whitespace.
12 years ago
Krzysztof Gabis
457fa1100f
Small code cleanup, narrower example code in tests and readme.
12 years ago
Krzysztof Gabis
2684eeb360
Not parsing hex and octal values, refractoring, code cleanup, new tests.
...
Also changed parson_strndup and parson_strdup to be static.
12 years ago
Krzysztof Gabis
a3bb4c7390
Fixed error in the readme file.
12 years ago
Krzysztof Gabis
120f5a08da
Defined malloc and free as macros, also small refractoring.
...
And changes to the readme file.
12 years ago
Krzysztof Gabis
e36fa2ab41
Changes in README.md
12 years ago
Krzysztof Gabis
de829803e3
Initial commit.
12 years ago