Skip to content

Releases: recp/json

v0.1.3: Bugfix and Some Improvements

08 Dec 10:34
Compare
Choose a tag to compare

Map JSON's null object to C's NULL. You can check if the key has null value by:

if (!jsonObj->value) {
  /* the value is null, like {"key": null} */
}

v0.1.2: Bugfix and Some Improvements

01 Dec 14:16
df5843b
Compare
Choose a tag to compare

Critical bugfix:

  • fix reading value if comma appears in value string and add some improvements

v0.1.1: Bugfix and Some Improvements

18 Nov 19:48
Compare
Choose a tag to compare
  • fix json_key_eq and provide json_key_eqsz for known input string sizes
  • memory: fix capacity of default memory node
  • helper to compare string values

v0.1.0: Initial Release

01 Sep 14:01
Compare
Choose a tag to compare
  • header-only or optional compiled library
  • option to store members and arrays as reverse order or normal
  • doesn't alloc memory for keys and values only for tokens
  • creates DOM-like data structure to make it easy to iterate though
  • provides some util functions to print json, get int32, int64, float, double...
  • unique way to parse JSON (check the object map section)