summaryrefslogtreecommitdiff
path: root/json-glib/json-value.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove conditional inclusion of config.hEmmanuele Bassi2014-03-181-2/+0
| | | | All the platforms and build system we support have a config.h header.
* Add JsonValueEmmanuele Bassi2012-06-301-0/+216
Given its ECMAScript inheritance, JSON allows only four types of values: - integer numbers - floating point numbers - booleans - strings We can efficiently represent a JSON value using a simple, reference counted structure, that behaves similarly to GValue but without the baggage of the whole type system. For the time being, we should keep the whole JsonValue internal: we already specify typed public accessors, so there's no need to complicate the API any further.