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 #ifndef __JSON_GVARIANT_H__
0025 #define __JSON_GVARIANT_H__
0026
0027 #if !defined(__JSON_GLIB_INSIDE__) && !defined(JSON_COMPILATION)
0028 #error "Only <json-glib/json-glib.h> can be included directly."
0029 #endif
0030
0031 #include <json-glib/json-types.h>
0032
0033 G_BEGIN_DECLS
0034
0035 JSON_AVAILABLE_IN_1_0
0036 JsonNode * json_gvariant_serialize (GVariant *variant);
0037 JSON_AVAILABLE_IN_1_0
0038 gchar * json_gvariant_serialize_data (GVariant *variant,
0039 gsize *length);
0040
0041 JSON_AVAILABLE_IN_1_0
0042 GVariant * json_gvariant_deserialize (JsonNode *json_node,
0043 const gchar *signature,
0044 GError **error);
0045 JSON_AVAILABLE_IN_1_0
0046 GVariant * json_gvariant_deserialize_data (const gchar *json,
0047 gssize length,
0048 const gchar *signature,
0049 GError **error);
0050
0051 G_END_DECLS
0052
0053 #endif