diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2012-06-30 13:22:47 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2012-06-30 13:22:47 +0100 |
commit | 7bd24bd628df97d216436e03237fc27f85a6aa8b (patch) | |
tree | c01c1abef6d0a1938c696a477801caaa4615ce04 /json-glib/json-node.c | |
parent | a62619788bbcc9035fb36e58308b28829f5650d3 (diff) | |
download | json-glib-7bd24bd628df97d216436e03237fc27f85a6aa8b.tar.gz |
Add JsonValue
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.
Diffstat (limited to 'json-glib/json-node.c')
0 files changed, 0 insertions, 0 deletions