26 #ifndef JSON_MAX_PARTS
27 #define JSON_MAX_PARTS 256
The spec was invalid.
Definition: json.h:50
enum qev_json_status qev_json_vpack(GString *buff, const gchar *spec, va_list args)
Packs the given values into a JSON object.
Everything went as expected.
Definition: json.h:37
qev_json_status
The maximum number of parts the spec may contain (objects, arrays, values).
Definition: json.h:33
enum qev_json_status qev_json_unpack(gchar *json, guint *parsed, const gchar *spec,...)
Variable arguments form of qev_json_vunpack().
The JSON was improperly formatted.
Definition: json.h:55
enum qev_json_status qev_json_vunpack(gchar *json, guint *parsed, const gchar *spec, va_list args)
Unpack the given JSON object into the given variables.
The JSON was valid but didn't match the spec or didn't completely fill all requested values...
Definition: json.h:61
Provides all the qev_* functions that are needed for creating an event loop.
If the spec has too many parts.
Definition: json.h:45
enum qev_json_status qev_json_pack(GString *buff, const gchar *spec,...)
Variable arguments form of qev_json_vpack().