Warning, file /include/json-glib-1.0/json-glib/json-gvariant.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 #pragma once
0027
0028 #if !defined(__JSON_GLIB_INSIDE__) && !defined(JSON_COMPILATION)
0029 #error "Only <json-glib/json-glib.h> can be included directly."
0030 #endif
0031
0032 #include <json-glib/json-types.h>
0033
0034 G_BEGIN_DECLS
0035
0036 JSON_AVAILABLE_IN_1_0
0037 JsonNode * json_gvariant_serialize (GVariant *variant);
0038 JSON_AVAILABLE_IN_1_0
0039 gchar * json_gvariant_serialize_data (GVariant *variant,
0040 gsize *length);
0041
0042 JSON_AVAILABLE_IN_1_0
0043 GVariant * json_gvariant_deserialize (JsonNode *json_node,
0044 const gchar *signature,
0045 GError **error);
0046 JSON_AVAILABLE_IN_1_0
0047 GVariant * json_gvariant_deserialize_data (const gchar *json,
0048 gssize length,
0049 const gchar *signature,
0050 GError **error);
0051
0052 G_END_DECLS