| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
Document behaviour for deserializing `construct-only` properties
See merge request GNOME/json-glib!48
|
| | |
|
| | |
|
|/
|
|
| |
Avoid compiler warnings when running with `-Wunused-parameter`.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Drop `SECTION` blurbs.
Use gi-docgen syntax for internal links.
Use summary lines for gi-docgen indices.
Use Markdown syntax for code fragments.
|
|
|
|
|
|
|
|
|
| |
json_serializable_default_deserialize_property() fails when called
with an uninitialized value.
This violates the API since value is marked as an out parameter.
Fixes https://gitlab.gnome.org/GNOME/json-glib/issues/39
|
|
|
|
|
| |
`json_serializable_serialize_property()` can return NULL, so make that
clear in the documentation (and to GIR).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
methods
json_builder_add_boolean_value
json_builder_add_double_value
json_builder_add_int_value
json_builder_add_null_value
json_builder_add_string_value
json_builder_add_value
json_builder_begin_array
json_builder_begin_object
json_builder_end_array
json_builder_end_object
json_builder_get_root
json_builder_set_member_name
json_generator_get_root
json_reader_get_error
json_reader_get_member_name
json_reader_get_value
json_serializable_find_property
json_serializable_find_property
json_boxed_serialize
|
| |
|
|
|
|
| |
All the platforms and build system we support have a config.h header.
|
|
|
|
|
| |
Drop the DocBook documentation, and move everything to the MarkDown
format used by modern gtk-doc.
|
|
|
|
|
|
|
|
| |
consulting the JsonSerializable.
This patch gives the JsonSerializable class a chance to decide
whether it's appropriate to serialize a property before
JsonGObject checks for a default value and skips the property.
|
| |
|
|
|
|
|
| |
This allows a Serializable implementation to override the property list,
and the setter and the getter function.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=638932
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If you want to use the default implementation of serialize_property()
and/or deserialize_property() from an object class implementing
JsonSerializable you currently have to peek the interface vtable and
then call the vfunc pointers.
We can expose the default implementation through functions ourselves and
simplify the required code.
|
|
|
|
|
| |
The json-boxed and json-serializable sections are missing the
long description for the API reference.
|
|
The json-gobject.c is getting pretty crowded; we should split out
the JsonBoxed API and the JsonSerialized implementation into their
separate source files.
|