summaryrefslogtreecommitdiff
path: root/json-glib/json-gboxed.c
Commit message (Collapse)AuthorAgeFilesLines
* Update the documentation for the GBoxed APIEmmanuele Bassi2021-06-081-28/+24
|
* docs: Initial, rough port away from gtk-docEmmanuele Bassi2021-06-081-55/+8
| | | | | | | | | | Drop `SECTION` blurbs. Use gi-docgen syntax for internal links. Use summary lines for gi-docgen indices. Use Markdown syntax for code fragments.
* introspection: fix nullable annotation for return values in the following ↵Alberto Ruiz2017-03-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove conditional inclusion of config.hEmmanuele Bassi2014-03-181-2/+0
| | | | All the platforms and build system we support have a config.h header.
* docs: Port to MarkDownEmmanuele Bassi2014-03-181-1/+1
| | | | | Drop the DocBook documentation, and move everything to the MarkDown format used by modern gtk-doc.
* Add introspection annotationsEmmanuele Bassi2010-09-251-7/+7
|
* docs: Fix the GBoxed registration exampleEmmanuele Bassi2010-01-241-5/+6
| | | | | | The registration function for serialization and deserialization has been replaced by two separate functions before releasing 0.10, but I forgot to update the example in the documentation.
* boxed: Split (de)serialization registrationEmmanuele Bassi2009-11-231-40/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A GBoxed type defined as: struct Boxed { int foo; gboolean bar; int baz; }; Can be represented either by a JSON object: { "foo" : 1, "bar" : true, "baz" : 3 } Or by a JSON array: [ 1, true, 3 ] The current function for registering a serialization and a deserialization pair does not allow registering more than one deserialization function - which means that there can only be one way to deserialize a GBoxed type into a specific JsonNode type. To allow having more than one JsonNodeType associated to a GBoxed type and a deserialization function we need to split out the registration of the serialization and deserialization functions into two distinct functions.
* docs: Add long descriptionsEmmanuele Bassi2009-10-281-4/+45
| | | | | The json-boxed and json-serializable sections are missing the long description for the API reference.
* docs: Documentation fixes for gtk-docEmmanuele Bassi2009-10-271-3/+5
|
* build: Split out GBoxed and SerializableEmmanuele Bassi2009-10-271-0/+275
The json-gobject.c is getting pretty crowded; we should split out the JsonBoxed API and the JsonSerialized implementation into their separate source files.