diff options
author | Matt Jakeman <mjak923@aucklanduni.ac.nz> | 2022-02-06 01:05:26 +0000 |
---|---|---|
committer | Matt Jakeman <mjak923@aucklanduni.ac.nz> | 2022-02-06 01:05:26 +0000 |
commit | e1152655ee2b345f9fbf69162c88e14a9fa5d1d5 (patch) | |
tree | 2048563494219f514e04c35cece035f94dbf25c9 | |
parent | 0ada4f37c205664e5921e21920690c633eb47d15 (diff) | |
download | json-glib-e1152655ee2b345f9fbf69162c88e14a9fa5d1d5.tar.gz |
serializable: Document behaviour for `construct-only` properties
-rw-r--r-- | json-glib/json-serializable.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/json-glib/json-serializable.c b/json-glib/json-serializable.c index de6c1c4..d78853a 100644 --- a/json-glib/json-serializable.c +++ b/json-glib/json-serializable.c @@ -86,6 +86,8 @@ json_serializable_serialize_property (JsonSerializable *serializable, * property description (since JSON-GLib 1.6) * - a `GValue` initialized with the expected type of the property * + * This will not be called for properties that are `G_PARAM_CONSTRUCT_ONLY`. + * * Returns: `TRUE` if the property was successfully deserialized */ gboolean |