diff options
author | Emmanuele Bassi <ebassi@gmail.com> | 2022-10-18 08:45:21 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gmail.com> | 2022-10-18 08:45:21 +0000 |
commit | d7fb79cfd0a78478206f4bd6ae7dfc543184ed41 (patch) | |
tree | 37fe6264a21d4fa08738e620f6bc47e406bbb5ba | |
parent | a862cc39013e841cd6bff02ab7a02937e2836c93 (diff) | |
parent | 17dd13e36d10792b8992a6005aa127deb6f058ad (diff) | |
download | json-glib-d7fb79cfd0a78478206f4bd6ae7dfc543184ed41.tar.gz |
Merge branch 'serializable-docs' into 'master'
Document behaviour for deserializing `construct-only` properties
See merge request GNOME/json-glib!48
-rw-r--r-- | json-glib/json-serializable.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/json-glib/json-serializable.c b/json-glib/json-serializable.c index e19670b..207a2c6 100644 --- a/json-glib/json-serializable.c +++ b/json-glib/json-serializable.c @@ -86,6 +86,9 @@ json_serializable_serialize_property (JsonSerializable *serializable, * property description (since JSON-GLib 1.6) * - a `GValue` initialized with the expected type of the property * + * This function will not be called for properties that are marked as + * as `G_PARAM_CONSTRUCT_ONLY`. + * * Returns: `TRUE` if the property was successfully deserialized */ gboolean |