--- json-glib-0.10.2.orig/doc/reference/tmpl/json-node.sgml
+++ json-glib-0.10.2/doc/reference/tmpl/json-node.sgml
@@ -9,13 +9,11 @@
-
GObject +----JsonGenerator@@ -94,13 +94,13 @@
"indent" guint : Read / Write "indent-char" guint : Read / Write "pretty" gboolean : Read / Write "root" JsonNode* : Read / Write@@ -158,13 +158,13 @@
gboolean json_generator_to_file (JsonGenerator *generator, const gchar *filename, GError **error);
Creates a JSON data stream and puts it inside filename
, overwriting the
@@ -187,7 +187,7 @@
error
:
NULL
gchar * json_generator_to_data (JsonGenerator *generator, gsize *length);
Generates a JSON data stream from generator
and returns it as a
@@ -229,7 +229,7 @@
Returns :
g_free()
to free the allocated resources.
"indent"
property"indent" guint : Read / Write
Number of spaces to be used to indent when pretty printing.
@@ -286,7 +286,7 @@"indent-char"
property"indent-char" guint : Read / Write
The character that should be used when indenting in pretty print.
@@ -299,7 +299,7 @@"pretty"
property"pretty" gboolean : Read / Write
Whether the output should be "pretty-printed", with indentation and --- json-glib-0.10.2.orig/doc/reference/html/json-glib-Serializable-Interface.html +++ json-glib-0.10.2/doc/reference/html/json-glib-Serializable-Interface.html @@ -59,52 +59,52 @@ JsonNode * json_serializable_serialize_property (JsonSerializable *serializable, const gchar *property_name, const GValue *value, GParamSpec *pspec); gboolean json_serializable_deserialize_property (JsonSerializable *serializable, const gchar *property_name, GValue *value, GParamSpec *pspec, JsonNode *property_node); JsonNode * json_serializable_default_serialize_property (JsonSerializable *serializable, const gchar *property_name, const GValue *value, GParamSpec *pspec); gboolean json_serializable_default_deserialize_property (JsonSerializable *serializable, const gchar *property_name, GValue *value, GParamSpec *pspec, JsonNode *property_node); @@ -113,7 +113,7 @@
JsonSerializable is an interface for GObject classes that
allows controlling how the class is going to be serialized
or deserialized by json_construct_gobject()
and
@@ -139,11 +139,11 @@
Interface that allows serializing and deserializing GObjects
with properties storing complex data types. The json_serialize_gobject()
function will check if the passed GObject implements this interface,
so it can also be used to override the default property serialization
sequence.
serialize_property
()
deserialize_property
()
JsonNode * json_serializable_serialize_property (JsonSerializable *serializable, const gchar *property_name, const GValue *value, GParamSpec *pspec);
Asks a JsonSerializable implementation to serialize a GObject property into a JsonNode object.
@@ -213,7 +213,7 @@
pspec
:
gboolean json_serializable_deserialize_property (JsonSerializable *serializable, const gchar *property_name, GValue *value, GParamSpec *pspec, JsonNode *property_node);
@@ -263,14 +263,14 @@
value
:
pspec
:
JsonNode * json_serializable_default_serialize_property (JsonSerializable *serializable, const gchar *property_name, const GValue *value, GParamSpec *pspec);
Calls the default implementation of the JsonSerializable @@ -343,7 +343,7 @@
pspec
:
gboolean json_serializable_default_deserialize_property (JsonSerializable *serializable, const gchar *property_name, GValue *value, GParamSpec *pspec, JsonNode *property_node);
@@ -410,14 +410,14 @@
value
:
pspec
:
GObject +----JsonParser@@ -269,7 +269,7 @@
Returns :
g_object_unref()
to release all the memory it allocates.
gboolean json_parser_load_from_file (JsonParser *parser, const gchar *filename, GError **error);
Loads a JSON stream from the content of filename
and parses it. See
@@ -309,7 +309,7 @@
error
:
NULL
gboolean json_parser_load_from_data (JsonParser *parser, const gchar *data, gssize length, GError **error);
Loads a JSON stream from a buffer and parses it. You can call this function @@ -364,7 +364,7 @@
error
:
NULL
guint json_parser_get_current_line (JsonParser *parser);
Retrieves the line currently parsed, starting from 1. @@ -435,7 +435,7 @@
guint json_parser_get_current_pos (JsonParser *parser);
Retrieves the current position inside the current line, starting @@ -467,10 +467,10 @@
gboolean json_parser_has_assignment (JsonParser *parser, gchar **variable_name);
A JSON data stream might sometimes contain an assignment, like: @@ -525,10 +525,10 @@
void user_function (JsonParser *parser, JsonArray *array, gint index_, gpointer user_data) : Run Last
The ::array-element signal is emitted each time the JsonParser @@ -567,7 +567,7 @@
void user_function (JsonParser *parser, JsonArray *array, gpointer user_data) : Run Last
The ::array-end signal is emitted each time the JsonParser @@ -599,7 +599,7 @@
"array-start"
signalvoid user_function (JsonParser *parser, gpointer user_data) : Run Last
The ::array-start signal is emitted each time the JsonParser @@ -626,10 +626,10 @@
"error"
signalvoid user_function (JsonParser *parser, gpointer error, gpointer user_data) : Run Last
The ::error signal is emitted each time a JsonParser encounters @@ -647,7 +647,7 @@
error
:
void user_function (JsonParser *parser, JsonObject *object, gpointer user_data) : Run Last
The ::object-end signal is emitted each time the JsonParser @@ -697,10 +697,10 @@
void user_function (JsonParser *parser, JsonObject *object, gchar *member_name, gpointer user_data) : Run Last
The ::object-member signal is emitted each time the JsonParser @@ -738,7 +738,7 @@
"object-start"
signalvoid user_function (JsonParser *parser, gpointer user_data) : Run Last
The ::object-start signal is emitted each time the JsonParser @@ -765,7 +765,7 @@
"parse-end"
signalvoid user_function (JsonParser *parser, gpointer user_data) : Run Last
The ::parse-end signal is emitted when the parser successfully @@ -792,7 +792,7 @@
"parse-start"
signalvoid user_function (JsonParser *parser, gpointer user_data) : Run Last
The ::parse-start signal is emitted when the parser began parsing --- json-glib-0.10.2.orig/doc/reference/html/json-glib-JSON-Object.html +++ json-glib-0.10.2/doc/reference/html/json-glib-JSON-Object.html @@ -62,134 +62,134 @@ void json_object_add_member (JsonObject *object, const gchar *member_name, JsonNode *node); void json_object_set_member (JsonObject *object, const gchar *member_name, JsonNode *node); gboolean json_object_has_member (JsonObject *object, const gchar *member_name); JsonNode * json_object_get_member (JsonObject *object, const gchar *member_name); JsonNode * json_object_dup_member (JsonObject *object, const gchar *member_name); GList * json_object_get_members (JsonObject *object); GList * json_object_get_values (JsonObject *object); guint json_object_get_size (JsonObject *object); void json_object_remove_member (JsonObject *object, const gchar *member_name); void (*JsonObjectForeach) (JsonObject *object, const gchar *member_name, JsonNode *member_node, gpointer user_data); void json_object_foreach_member (JsonObject *object, JsonObjectForeach func, gpointer data); void json_object_set_array_member (JsonObject *object, const gchar *member_name, JsonArray *value); JsonArray * json_object_get_array_member (JsonObject *object, const gchar *member_name); void json_object_set_boolean_member (JsonObject *object, const gchar *member_name, gboolean value); gboolean json_object_get_boolean_member (JsonObject *object, const gchar *member_name); void json_object_set_double_member (JsonObject *object, const gchar *member_name, gdouble value); gdouble json_object_get_double_member (JsonObject *object, const gchar *member_name); void json_object_set_int_member (JsonObject *object, const gchar *member_name, gint64 value); gint64 json_object_get_int_member (JsonObject *object, const gchar *member_name); void json_object_set_null_member (JsonObject *object, const gchar *member_name); gboolean json_object_get_null_member (JsonObject *object, const gchar *member_name); void json_object_set_object_member (JsonObject *object, const gchar *member_name, JsonObject *value); JsonObject * json_object_get_object_member (JsonObject *object, const gchar *member_name); void json_object_set_string_member (JsonObject *object, const gchar *member_name, const gchar *value); const gchar * json_object_get_string_member (JsonObject *object, const gchar *member_name);
void json_object_add_member (JsonObject *object, const gchar *member_name, JsonNode *node);
void json_object_set_member (JsonObject *object, const gchar *member_name, JsonNode *node);
@@ -370,10 +370,10 @@
gboolean json_object_has_member (JsonObject *object, const gchar *member_name);
Checks whether object
has a member named member_name
.
JsonNode * json_object_get_member (JsonObject *object, const gchar *member_name);
Retrieves the JsonNode containing the value of member_name
inside
@@ -439,7 +439,7 @@
JsonNode * json_object_dup_member (JsonObject *object, const gchar *member_name);
Retrieves a copy of the JsonNode containing the value of member_name
@@ -474,7 +474,7 @@
GList * json_object_get_members (JsonObject *object);
Retrieves all the names of the members of a JsonObject. You can @@ -500,7 +500,7 @@
GList * json_object_get_values (JsonObject *object);
Retrieves all the values of the members of a JsonObject.
@@ -525,7 +525,7 @@guint json_object_get_size (JsonObject *object);
Retrieves the number of members of a JsonObject.
@@ -552,7 +552,7 @@void json_object_remove_member (JsonObject *object, const gchar *member_name);
Removes member_name
from object
, freeing its allocated resources.
void (*JsonObjectForeach) (JsonObject *object, const gchar *member_name, JsonNode *member_node, gpointer user_data);
The function to be passed to json_object_foreach_member()
. You
@@ -624,7 +624,7 @@
void json_object_foreach_member (JsonObject *object, JsonObjectForeach func, gpointer data);
Iterates over all members of object
and calls func
on
@@ -663,7 +663,7 @@
void json_object_set_array_member (JsonObject *object, const gchar *member_name, JsonArray *value);
JsonArray * json_object_get_array_member (JsonObject *object, const gchar *member_name);
Convenience function that retrieves the array @@ -740,10 +740,10 @@
void json_object_set_boolean_member (JsonObject *object, const gchar *member_name, gboolean value);
Convenience function for setting a boolean value
of
@@ -779,10 +779,10 @@
gboolean json_object_get_boolean_member (JsonObject *object, const gchar *member_name);
Convenience function that retrieves the boolean value @@ -820,10 +820,10 @@
void json_object_set_double_member (JsonObject *object, const gchar *member_name, gdouble value);
Convenience function for setting a floating point value
@@ -859,10 +859,10 @@
gdouble json_object_get_double_member (JsonObject *object, const gchar *member_name);
Convenience function that retrieves the floating point value @@ -900,10 +900,10 @@
void json_object_set_int_member (JsonObject *object, const gchar *member_name, gint64 value);
Convenience function for setting an integer value
of
@@ -939,10 +939,10 @@
gint64 json_object_get_int_member (JsonObject *object, const gchar *member_name);
Convenience function that retrieves the integer value @@ -980,7 +980,7 @@
void json_object_set_null_member (JsonObject *object, const gchar *member_name);
Convenience function for setting a null value
of
@@ -1011,10 +1011,10 @@
gboolean json_object_get_null_member (JsonObject *object, const gchar *member_name);
Convenience function that checks whether the value @@ -1052,7 +1052,7 @@
void json_object_set_object_member (JsonObject *object, const gchar *member_name, JsonObject *value);
JsonObject * json_object_get_object_member (JsonObject *object, const gchar *member_name);
Convenience function that retrieves the object @@ -1129,10 +1129,10 @@
void json_object_set_string_member (JsonObject *object, const gchar *member_name, const gchar *value);
Convenience function for setting a string value
of
@@ -1168,10 +1168,10 @@
const gchar * json_object_get_string_member (JsonObject *object, const gchar *member_name);
Convenience function that retrieves the string value --- json-glib-0.10.2.orig/doc/reference/html/ch04.html +++ json-glib-0.10.2/doc/reference/html/ch04.html @@ -38,10 +38,10 @@
GObject JsonGenerator JsonParser --- json-glib-0.10.2.orig/doc/reference/html/json-glib-Boxed-Types-Serialization.html +++ json-glib-0.10.2/doc/reference/html/json-glib-Boxed-Types-Serialization.html @@ -56,45 +56,45 @@Synopsis
JsonNode * (*JsonBoxedSerializeFunc) (gconstpointer boxed); gpointer (*JsonBoxedDeserializeFunc) (JsonNode *node); void json_boxed_register_serialize_func (GType gboxed_type, JsonNodeType node_type, JsonBoxedSerializeFunc serialize_func); void json_boxed_register_deserialize_func (GType gboxed_type, JsonNodeType node_type, JsonBoxedDeserializeFunc deserialize_func); gboolean json_boxed_can_serialize (GType gboxed_type, JsonNodeType *node_type); gboolean json_boxed_can_deserialize (GType gboxed_type, JsonNodeType node_type); JsonNode * json_boxed_serialize (GType gboxed_type, gconstpointer boxed); gpointer json_boxed_deserialize (GType gboxed_type, JsonNode *node);@@ -108,7 +108,7 @@ JSON-GLib allows serialization and deserialization of a GBoxed type by registering functions mapping a JsonNodeType to a specific GType.@@ -160,7 +160,7 @@
JsonBoxedSerializeFunc ()
JsonNode * (*JsonBoxedSerializeFunc) (gconstpointer boxed);Serializes the passed GBoxed and stores it inside a JsonNode
@@ -188,7 +188,7 @@JsonBoxedDeserializeFunc ()
gpointer (*JsonBoxedDeserializeFunc) (JsonNode *node);Deserializes the contents of the passed JsonNode into a GBoxed
@@ -216,7 +216,7 @@json_boxed_register_serialize_func ()
void json_boxed_register_serialize_func (GType gboxed_type, JsonNodeType node_type, JsonBoxedSerializeFunc serialize_func);@@ -253,7 +253,7 @@json_boxed_register_deserialize_func ()
void json_boxed_register_deserialize_func (GType gboxed_type, JsonNodeType node_type, JsonBoxedDeserializeFunc deserialize_func);@@ -289,9 +289,9 @@json_boxed_can_serialize ()
gboolean json_boxed_can_serialize (GType gboxed_type, JsonNodeType *node_type);@@ -328,9 +328,9 @@
json_boxed_can_deserialize ()
gboolean json_boxed_can_deserialize (GType gboxed_type, JsonNodeType node_type);@@ -365,10 +365,10 @@
json_boxed_serialize ()
JsonNode * json_boxed_serialize (GType gboxed_type, gconstpointer boxed);Serializes
boxed
, a pointer to a GBoxed of typegboxed_type
, @@ -404,9 +404,9 @@json_boxed_deserialize ()
gpointer json_boxed_deserialize (GType gboxed_type, JsonNode *node);@@ -429,7 +429,7 @@
Returns :
the newly allocated GBoxed. Use g_boxed_free()
to release the resources allocated by this function --- json-glib-0.10.2.orig/doc/reference/html/ch02.html +++ json-glib-0.10.2/doc/reference/html/ch02.html @@ -38,7 +38,7 @@--- json-glib-0.10.2.orig/doc/reference/html/ix03.html +++ json-glib-0.10.2/doc/reference/html/ix03.html @@ -38,7 +38,7 @@
- JsonParser — Parse JSON data streams
@@ -209,7 +209,7 @@C
--- json-glib-0.10.2.orig/doc/reference/html/json-glib-JSON-Array.html +++ json-glib-0.10.2/doc/reference/html/json-glib-JSON-Array.html @@ -58,7 +58,7 @@ JsonArray; JsonArray * json_array_new (void); JsonArray * json_array_sized_new (guint n_elements); JsonArray * json_array_ref (JsonArray *array); void json_array_unref (JsonArray *array); @@ -67,94 +67,94 @@ JsonNode *node); JsonNode * json_array_get_element (JsonArray *array, guint index_); JsonNode * json_array_dup_element (JsonArray *array, guint index_); GList * json_array_get_elements (JsonArray *array); guint json_array_get_length (JsonArray *array); void json_array_remove_element (JsonArray *array, guint index_); void (*JsonArrayForeach) (JsonArray *array, guint index_, JsonNode *element_node, gpointer user_data); void json_array_foreach_element (JsonArray *array, JsonArrayForeach func, gpointer data); void json_array_add_array_element (JsonArray *array, JsonArray *value); JsonArray * json_array_get_array_element (JsonArray *array, guint index_); void json_array_add_boolean_element (JsonArray *array, gboolean value); gboolean json_array_get_boolean_element (JsonArray *array, guint index_); void json_array_add_double_element (JsonArray *array, gdouble value); gdouble json_array_get_double_element (JsonArray *array, guint index_); void json_array_add_int_element (JsonArray *array, gint64 value); gint64 json_array_get_int_element (JsonArray *array, guint index_); void json_array_add_null_element (JsonArray *array); gboolean json_array_get_null_element (JsonArray *array, guint index_); void json_array_add_object_element (JsonArray *array, JsonObject *value); JsonObject * json_array_get_object_element (JsonArray *array, guint index_); void json_array_add_string_element (JsonArray *array, const gchar *value); const gchar * json_array_get_string_element (JsonArray *array, guint index_);json_array_sized_new ()
JsonArray * json_array_sized_new (guint n_elements);Creates a new JsonArray with
@@ -306,7 +306,7 @@n_elements
slots already allocated.json_array_get_element ()
JsonNode * json_array_get_element (JsonArray *array, guint index_);Retrieves the JsonNode containing the value of the element at
index_
@@ -339,7 +339,7 @@json_array_dup_element ()
JsonNode * json_array_dup_element (JsonArray *array, guint index_);Retrieves a copy of the JsonNode containing the value of the @@ -371,7 +371,7 @@
json_array_get_elements ()
GList * json_array_get_elements (JsonArray *array);Gets the elements of a JsonArray as a list of JsonNodes.
@@ -396,7 +396,7 @@json_array_get_length ()
guint json_array_get_length (JsonArray *array);Retrieves the length of a JsonArray
@@ -423,7 +423,7 @@json_array_remove_element ()
void json_array_remove_element (JsonArray *array, guint index_);Removes the JsonNode inside
array
atindex_
freeing its allocated @@ -451,11 +451,11 @@JsonArrayForeach ()
void (*JsonArrayForeach) (JsonArray *array, guint index_, JsonNode *element_node, gpointer user_data);The function to be passed to
json_array_foreach_element()
. You @@ -496,7 +496,7 @@void json_array_foreach_element (JsonArray *array, JsonArrayForeach func, gpointer data);Iterates over all elements of
array
and callsfunc
on @@ -564,7 +564,7 @@json_array_get_array_element ()
JsonArray * json_array_get_array_element (JsonArray *array, guint index_);Conveniently retrieves the array from the element at
index_
@@ -600,7 +600,7 @@json_array_add_boolean_element ()
void json_array_add_boolean_element (JsonArray *array, gboolean value);Conveniently adds a boolean
value
intoarray
@@ -630,10 +630,10 @@json_array_get_boolean_element ()
gboolean json_array_get_boolean_element (JsonArray *array, guint index_);Conveniently retrieves the boolean value of the element at
index_
@@ -671,7 +671,7 @@json_array_add_double_element ()
void json_array_add_double_element (JsonArray *array, gdouble value);Conveniently adds a floating point
value
intoarray
@@ -701,10 +701,10 @@json_array_get_double_element ()
gdouble json_array_get_double_element (JsonArray *array, guint index_);Conveniently retrieves the floating point value of the element at @@ -742,7 +742,7 @@
json_array_add_int_element ()
void json_array_add_int_element (JsonArray *array, gint64 value);Conveniently adds an integer
value
intoarray
@@ -772,10 +772,10 @@json_array_get_int_element ()
gint64 json_array_get_int_element (JsonArray *array, guint index_);Conveniently retrieves the integer value of the element at
index_
@@ -833,10 +833,10 @@json_array_get_null_element ()
gboolean json_array_get_null_element (JsonArray *array, guint index_);Conveniently retrieves whether the element at
index_
is set to null @@ -903,7 +903,7 @@json_array_get_object_element ()
JsonObject * json_array_get_object_element (JsonArray *array, guint index_);Conveniently retrieves the object from the element at
index_
@@ -939,7 +939,7 @@json_array_add_string_element ()
void json_array_add_string_element (JsonArray *array, const gchar *value);Conveniently adds a string
value
intoarray
@@ -969,10 +969,10 @@--- json-glib-0.10.2.orig/doc/reference/html/ix01.html +++ json-glib-0.10.2/doc/reference/html/ix01.html @@ -38,7 +38,7 @@
- JsonGenerator — Generates JSON data streams
A
@@ -132,7 +132,7 @@G
-
- JsonGenerator
+- JsonGenerator
- JsonGenerator:indent
@@ -316,7 +316,7 @@P
-
- JsonParser
+- JsonParser
- JsonParser::array-element
--- json-glib-0.10.2.orig/doc/reference/html/ix04.html +++ json-glib-0.10.2/doc/reference/html/ix04.html @@ -38,7 +38,7 @@@@ -148,10 +148,10 @@ the node tree by retrieving the type of data contained inside the node with theB
--- json-glib-0.10.2.orig/doc/reference/html/json-glib-JSON-Node.html +++ json-glib-0.10.2/doc/reference/html/json-glib-JSON-Node.html @@ -83,56 +83,56 @@ void json_node_set_value (JsonNode *node, const GValue *value); void json_node_get_value (JsonNode *node, GValue *value); void json_node_set_boolean (JsonNode *node, gboolean value); gboolean json_node_get_boolean (JsonNode *node); void json_node_set_double (JsonNode *node, gdouble value); gdouble json_node_get_double (JsonNode *node); void json_node_set_int (JsonNode *node, gint64 value); gint64 json_node_get_int (JsonNode *node); void json_node_set_string (JsonNode *node, const gchar *value); const gchar * json_node_get_string (JsonNode *node); gchar * json_node_dup_string (JsonNode *node); void json_node_set_parent (JsonNode *node, JsonNode *parent); JsonNode * json_node_get_parent (JsonNode *node); const gchar * json_node_type_name (JsonNode *node); GType json_node_get_value_type (JsonNode *node); JsonNodeType json_node_get_node_type (JsonNode *node); gboolean json_node_is_null (JsonNode *node);JSON_NODE_TYPE
macro. If the node contains a fundamental type you can retrieve a copy of the GValue holding it with thejson_node_get_value()
function, and then use the GValue API to extract the data; if the node contains a complex type you can retrieve the JsonObject or the JsonArray usingjson_node_get_object()
or @@ -600,11 +600,11 @@json_node_set_value ()
void json_node_set_value (JsonNode *node, const GValue *value);Sets
value
insidenode
. The passed GValue is copied into the JsonNode@@ -619,7 +619,7 @@
@@ -631,14 +631,14 @@
value
:the GValue to set json_node_get_value ()
void json_node_get_value (JsonNode *node, GValue *value);Retrieves a value from a JsonNode and copies into
value
. When done using it, callg_value_unset()
on the GValue.@@ -663,7 +663,7 @@
json_node_set_boolean ()
void json_node_set_boolean (JsonNode *node, gboolean value);Sets
value
as the boolean content of thenode
, replacing any existing @@ -690,7 +690,7 @@json_node_get_boolean ()
gboolean json_node_get_boolean (JsonNode *node);Gets the boolean value stored inside a JsonNode
@@ -717,7 +717,7 @@json_node_set_double ()
void json_node_set_double (JsonNode *node, gdouble value);Sets
value
as the double content of thenode
, replacing any existing @@ -744,7 +744,7 @@json_node_get_double ()
gdouble json_node_get_double (JsonNode *node);Gets the double value stored inside a JsonNode
@@ -771,7 +771,7 @@json_node_set_int ()
void json_node_set_int (JsonNode *node, gint64 value);Sets
value
as the integer content of thenode
, replacing any existing @@ -798,7 +798,7 @@json_node_get_int ()
gint64 json_node_get_int (JsonNode *node);Gets the integer value stored inside a JsonNode
@@ -825,7 +825,7 @@json_node_set_string ()
void json_node_set_string (JsonNode *node, const gchar *value);Sets
value
as the string content of thenode
, replacing any existing @@ -852,7 +852,7 @@json_node_get_string ()
const gchar * json_node_get_string (JsonNode *node);Gets the string value stored inside a JsonNode
@@ -878,7 +878,7 @@json_node_dup_string ()
gchar * json_node_dup_string (JsonNode *node);Gets a copy of the string value stored inside a JsonNode
@@ -953,7 +953,7 @@json_node_type_name ()
const gchar * json_node_type_name (JsonNode *node);Retrieves the user readable name of the data type contained by
@@ -980,11 +980,11 @@node
.json_node_get_value_type ()
GType json_node_get_value_type (JsonNode *node);Returns the GType of the payload of the node.
@@ -999,7 +999,7 @@
Returns :
a GType for the payload. @@ -1038,7 +1038,7 @@@@ -115,13 +115,13 @@json_node_is_null ()
gboolean json_node_is_null (JsonNode *node);Checks whether
node
is aJSON_NODE_NULL
--- json-glib-0.10.2.orig/doc/reference/html/json-glib-GObject-Serialization.html +++ json-glib-0.10.2/doc/reference/html/json-glib-GObject-Serialization.html @@ -56,58 +56,58 @@Synopsis
JsonNode * json_gobject_serialize (GObject *gobject); GObject * json_gobject_deserialize (GType gtype, JsonNode *node); gchar * json_gobject_to_data (GObject *gobject, gsize *length); GObject * json_gobject_from_data (GType gtype, const gchar *data, gssize length, GError **error); GObject * json_construct_gobject (GType gtype, const gchar *data, gsize length, GError **error); gchar * json_serialize_gobject (GObject *gobject, gsize *length);Description
JSON-GLib provides API for serializing and deserializing GObjects to and from JSON data streams.
Simple GObject classes can be (de)serialized into JSON objects, if the properties have compatible types with the native JSON types (integers, booleans, strings, string vectors). If the class to be (de)serialized has @@ -136,15 +136,15 @@
json_gobject_serialize ()
JsonNode * json_gobject_serialize (GObject *gobject);Creates a JsonNode representing the passed GObject instance. Each member of the returned JSON object will map to a property of the GObject
@@ -154,7 +154,7 @@
@@ -170,14 +170,14 @@
gobject
:a GObject json_gobject_deserialize ()
GObject * json_gobject_deserialize (GType gtype, JsonNode *node);Creates a new GObject of type
gtype
, and constructs it using the members of the passed JsonObject@@ -188,7 +188,7 @@
@@ -210,16 +210,16 @@
gtype
:the type of the GObject to create json_gobject_to_data ()
gchar * json_gobject_to_data (GObject *gobject, gsize *length);Serializes a GObject into a JSON data stream, iterating recursively over each property.
@@ -236,7 +236,7 @@@@ -247,7 +247,7 @@
gobject
:a GObject Returns :
a JSON data stream representing the passed GObject @@ -260,23 +260,23 @@json_gobject_from_data ()
GObject * json_gobject_from_data (GType gtype, const gchar *data, gssize length, GError **error);Deserializes a JSON data stream and creates the corresponding GObject class. If
gtype
implements the JsonSerializableIface interface, it will be asked to deserialize all the JSON members into the respective properties; otherwise, the default implementation @@ -292,7 +292,7 @@@@ -309,14 +309,14 @@
gtype
:the GType of object to construct
error
:return location for a GError, or NULL
Returns :
a GObject or @@ -329,18 +329,18 @@NULL
json_construct_gobject ()
GObject * json_construct_gobject (GType gtype, const gchar *data, gsize length, GError **error);Warning
@@ -349,7 +349,7 @@Deserializes a JSON data stream and creates the corresponding GObject class. If
gtype
implements the JsonSerializableIface interface, it will be asked to deserialize all the JSON members into the respective properties; otherwise, the default implementation @@ -365,7 +365,7 @@@@ -382,14 +382,14 @@
gtype
:the GType of object to construct
error
:return location for a GError, or NULL
Returns :
a GObject or @@ -402,12 +402,12 @@NULL
json_serialize_gobject ()
gchar * json_serialize_gobject (GObject *gobject, gsize *length);Warning
@@ -415,7 +415,7 @@Serializes a GObject into a JSON data stream. If
gobject
implements the JsonSerializableIface interface, it will be asked to serizalize all its properties; otherwise, the default implementation will be use to @@ -428,7 +428,7 @@@@ -439,7 +439,7 @@
gobject
:a GObject Returns :
a JSON data stream representing the passed GObject --- json-glib-0.10.2.orig/doc/reference/html/ix05.html +++ json-glib-0.10.2/doc/reference/html/ix05.html @@ -38,7 +38,7 @@A
--- json-glib-0.10.2.orig/doc/reference/html/index.html +++ json-glib-0.10.2/doc/reference/html/index.html @@ -36,7 +36,7 @@Copyright © 2007, 2008 OpenedHand LTD
Copyright © 2009 Intel Corporation
-Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later --- json-glib-0.10.2.orig/debian/libjson-glib-doc.install +++ json-glib-0.10.2/debian/libjson-glib-doc.install @@ -0,0 +1 @@ +debian/tmp/usr/share/gtk-doc/html/json-glib --- json-glib-0.10.2.orig/debian/gir1.0-json-glib-1.0.install +++ json-glib-0.10.2/debian/gir1.0-json-glib-1.0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/girepository-1.0/ --- json-glib-0.10.2.orig/debian/rules +++ json-glib-0.10.2/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/utils.mk + +DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-O1 -Wl,--as-needed" +DEB_COMPRESS_EXCLUDE = .c +DEB_CONFIGURE_EXTRA_FLAGS := --enable-gtk-doc --enable-introspection=yes +DEB_MAKE_CHECK_TARGET = test + +$(patsubst %,binary-predeb/%,$(DEB_ALL_PACKAGES)) :: + dh_girepository -p$(cdbs_curpkg) + +common-binary-predeb-arch:: list-missing --- json-glib-0.10.2.orig/debian/compat +++ json-glib-0.10.2/debian/compat @@ -0,0 +1 @@ +5 --- json-glib-0.10.2.orig/debian/copyright +++ json-glib-0.10.2/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by Emmanuele Bassi
on Thu, 01 May 2008 15:31:18 +0100 + +It was downloaded from: + http://folks.o-hand.com/ebassi/sources/json-glib-0.6.0.tar.gz + +Upstream Authors: + Emmanuele Bassi + +Copyright (C) 2008 OpenedHand Ltd. + +License: + + This library is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) any + later version. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this library; if not, write to the Free Software Foundation, Inc., 51 + Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/LGPL-2'. + +This package also contains documentation licensed under the GFDL with no +invariant sections: + + Permission is granted to copy, distribute and/or modify this document under + the terms of the GNU Free Documentation License, Version 1.1 or any later + version published by the Free Software Foundation with no Invariant + Sections, no Front-Cover Texts, and no Back-Cover Texts. + +On Debian systems, the complete text of the GNU Free Documentation License can +be found in `/usr/share/common-licenses/GFDL`. --- json-glib-0.10.2.orig/debian/control +++ json-glib-0.10.2/debian/control @@ -0,0 +1,87 @@ +Source: json-glib +Section: libs +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Emmanuele Bassi +Uploaders: Rob Bradford , Ross Burton +Build-Depends: debhelper (>= 5), + cdbs (>= 0.4.41), + libglib2.0-dev, + gtk-doc-tools, + gir-repository-dev, + gir1.0-glib-2.0, + libgirepository1.0-dev (>= 0.6.3), + gobject-introspection (>= 0.6.5-3) +Standards-Version: 3.8.3 + +Package: libjson-glib-1.0-0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: GLib JSON manipulation library + JSON-GLib is a library for parsing, generating and manipulating JavaScript + Object Notation (JSON) data streams using the GLib type system. It allows + manipulating JSON data types with a Document Object Model API. It also + allows serializing and deserializing simple or complex GObjects to and + from JSON data types. + +Package: libjson-glib-1.0-0-dbg +Section: debug +Priority: extra +Architecture: any +Depends: libjson-glib-1.0-0 (= ${binary:Version}), ${misc:Depends} +Description: GLib JSON manipulation library (debug symbols) + JSON-GLib is a library for parsing, generating and manipulating JavaScript + Object Notation (JSON) data streams using the GLib type system. It allows + manipulating JSON data types with a Document Object Model API. It also + allows serializing and deserializing simple or complex GObjects to and + from JSON data types. + . + This package contains the debug files. + +Package: libjson-glib-dev +Section: libdevel +Architecture: any +Depends: libjson-glib-1.0-0 (= ${binary:Version}), pkg-config, libglib2.0-dev, ${misc:Depends} +Suggests: libjson-glib-doc +Description: GLib JSON manipulation library (development files) + JSON-GLib is a library for parsing, generating and manipulating JavaScript + Object Notation (JSON) data streams using the GLib type system. It allows + manipulating JSON data types with a Document Object Model API. It also + allows serializing and deserializing simple or complex GObjects to and + from JSON data types. + . + This package contains the development files. + +Package: libjson-glib-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Suggests: devhelp +Description: GLib JSON manipulation library (documentation) + JSON-GLib is a library for parsing, generating and manipulating JavaScript + Object Notation (JSON) data streams using the GLib type system. It allows + manipulating JSON data types with a Document Object Model API. It also + allows serializing and deserializing simple or complex GObjects to and + from JSON data types. + . + This package contains the documentation. + +Package: gir1.0-json-glib-1.0 +Section: libs +Architecture: any +Depends: ${gir:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Description: GLib JSON manipulation library (documentation) + JSON-GLib is a library for parsing, generating and manipulating JavaScript + Object Notation (JSON) data streams using the GLib type system. It allows + manipulating JSON data types with a Document Object Model API. It also + allows serializing and deserializing simple or complex GObjects to and + from JSON data types. + . + This package contains introspection data. + . + It can be used by packages using the GIRepository format to generate + dynamic bindings. + --- json-glib-0.10.2.orig/debian/libjson-glib-1.0-0.install +++ json-glib-0.10.2/debian/libjson-glib-1.0-0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/*.so.* --- json-glib-0.10.2.orig/debian/changelog +++ json-glib-0.10.2/debian/changelog @@ -0,0 +1,103 @@ +json-glib (0.10.2-2ubuntu1~alf1~lucid) lucid; urgency=low + + * Backport to lucid + + -- Alexandros Frantzis Wed, 09 Jun 2010 16:19:27 +0300 + +json-glib (0.10.2-2ubuntu1) maverick; urgency=low + + * Resync on Debian + * debian/rules: + - Enable test suite on build. + + -- Sebastien Bacher Fri, 28 May 2010 11:49:23 +0200 + +json-glib (0.10.2-2) unstable; urgency=low + + * Enable GObject introspection + + -- Rob Bradford Tue, 16 Mar 2010 06:07:32 +0000 + +json-glib (0.10.2-1) unstable; urgency=low + + * New upstream release + + -- Rob Bradford Mon, 15 Mar 2010 15:44:13 +0000 + +json-glib (0.8.0-1) unstable; urgency=low + + * New upstream release (Closes: #547673) + * Fix documentation symlink (Closes: #532712) + + -- Ross Burton Mon, 28 Sep 2009 13:20:19 +0100 + +json-glib (0.7.6-0ubuntu2) lucid; urgency=low + + * rebuild rest of main for armel armv7/thumb2 optimization; + UbuntuSpec:mobile-lucid-arm-gcc-v7-thumb2 + + -- Alexander Sack Sat, 06 Mar 2010 13:29:14 +0100 + +json-glib (0.7.6-0ubuntu1) karmic; urgency=low + + * Remove upstreamed patch from package + * New upstream release (0.7.6): + - Actually use the int64 support in the Scanner + * New upstream release (0.7.4) (LP: #416336): + - Pre-compute the escape table + - Use JSON_NODE_OBJECT, not JSON_NODE_ARRAY when creating the node in + json_object_set_object_member + - Fix typo in JsonObject::set_object_member() + - Verify parsing base values + - Advance the tokenizer to avoid an infinite loop + - Auto-promote integer types to G_TYPE_INT64 + - Do not sanitize the object member's name + - Disallow single header file inclusion + - Use our libtool for the typelib + + -- Rodrigo Moya Thu, 20 Aug 2009 11:36:21 +0200 + +json-glib (0.7.2-0ubuntu2) karmic; urgency=low + + * Add upstream patch needed for couchdb-glib/evolution-couchdb + + -- Rodrigo Moya Wed, 08 Jul 2009 18:45:48 +0200 + +json-glib (0.7.2-0ubuntu1) karmic; urgency=low + + [ Rodrigo Moya ] + * Package latest version, needed for upcoming couchdb-glib package. + (LP: #389461) + + [ Martin Pitt ] + * debian/rules: Enable test suite on build. + + -- Rodrigo Moya Fri, 19 Jun 2009 13:27:49 +0200 + +json-glib (0.6.2-3) unstable; urgency=low + + * Fix the name of the library .install file to match that of the library. + (closes: #486574) + + -- Rob Bradford Tue, 17 Jun 2008 17:49:36 +0100 + +json-glib (0.6.2-2) unstable; urgency=low + + * Change binary package name for main library binary package to more closely + represent soname. + + -- Rob Bradford Mon, 09 Jun 2008 11:56:12 +0100 + +json-glib (0.6.2-1) unstable; urgency=low + + * New upstream release. + * Include note in debian/copyright about GFDL licensed docs. + + -- Rob Bradford Fri, 23 May 2008 14:06:09 +0100 + +json-glib (0.6.0-1) unstable; urgency=low + + * New upstream release. + + -- Emmanuele Bassi Thu, 01 May 2008 15:22:36 +0100 + --- json-glib-0.10.2.orig/debian/libjson-glib-dev.install +++ json-glib-0.10.2/debian/libjson-glib-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/*.so +debian/tmp/usr/lib/pkgconfig/ +debian/tmp/usr/include/ +debian/tmp/usr/share/gir-1.0/ --- json-glib-0.10.2.orig/debian/libjson-glib-doc.links +++ json-glib-0.10.2/debian/libjson-glib-doc.links @@ -0,0 +1 @@ +usr/share/gtk-doc/html/json-glib usr/share/doc/libjson-glib-doc/html