diff options
| author | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-11-07 14:17:31 +0100 |
|---|---|---|
| committer | Emmanuele Bassi <ebassi@gnome.org> | 2016-03-01 14:53:00 +0000 |
| commit | 58f479b60eb2db4c73605d469d68a8ffd8679327 (patch) | |
| tree | b414ce65be7a8d493234fcf325521a69d0ea5bd4 /doc/reference/json-glib-sections.txt | |
| parent | a82b93ba60dd0f54660990df86ba0cf7fc74c9a8 (diff) | |
| download | json-glib-58f479b60eb2db4c73605d469d68a8ffd8679327.tar.gz | |
core: Add immutability support to core objects
Add an immutable mode to JsonNode, JsonObject, JsonArray and JsonValue.
This is an optional mode which objects enter by calling json_*_seal().
It is a one-way transition, which means that we can build and manipulate
objects as much as desired, before sealing them and enjoying the
benefits of immutable objects: no need to take copies when handling
them, persistent hash values (still to be implemented).
https://bugzilla.gnome.org/show_bug.cgi?id=756121
Diffstat (limited to 'doc/reference/json-glib-sections.txt')
| -rw-r--r-- | doc/reference/json-glib-sections.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/reference/json-glib-sections.txt b/doc/reference/json-glib-sections.txt index 015a442..2dccde9 100644 --- a/doc/reference/json-glib-sections.txt +++ b/doc/reference/json-glib-sections.txt @@ -5,6 +5,8 @@ JsonObject json_object_new json_object_ref json_object_unref +json_object_seal +json_object_is_immutable <SUBSECTION> json_object_add_member @@ -51,6 +53,8 @@ json_array_new json_array_sized_new json_array_ref json_array_unref +json_array_seal +json_array_is_immutable <SUBSECTION> json_array_add_element @@ -106,6 +110,8 @@ json_node_init_array json_node_new json_node_copy json_node_free +json_node_is_immutable +json_node_seal <SUBSECTION> json_node_set_array @@ -156,6 +162,7 @@ JsonParserError JsonParser JsonParserClass json_parser_new +json_parser_new_immutable json_parser_load_from_file json_parser_load_from_data json_parser_load_from_stream @@ -325,6 +332,7 @@ _JSON_EXTERN JsonBuilder JsonBuilderClass json_builder_new +json_builder_new_immutable json_builder_get_root json_builder_reset <SUBSECTION> |
