| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
The function can return NULL even without setting an error, so we need
to add a `nullable` annotation. While at it, document the handling of
empty strings more explicitly.
Fixes: #46
|
|
|
|
|
|
|
|
| |
In json_from_string, just pass the user-provided GError** to
json_parser_load_from_data. Otherwise json_from_string will never
propagate any parser errors back to the caller.
https://bugzilla.gnome.org/show_bug.cgi?id=766281
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=774688
|
|
Wrap JsonParser and JsonGenerator in simple, easy to call functions that
manage the objects for you.
|