| 35 FbJsonType type; |
35 FbJsonType type; |
| 36 gboolean required; |
36 gboolean required; |
| 37 GValue value; |
37 GValue value; |
| 38 }; |
38 }; |
| 39 |
39 |
| 40 struct _FbJsonValuesPrivate |
40 typedef struct _FbJsonValuesPrivate |
| 41 { |
41 { |
| 42 JsonNode *root; |
42 JsonNode *root; |
| 43 GQueue *queue; |
43 GQueue *queue; |
| 44 GList *next; |
44 GList *next; |
| 45 |
45 |
| 46 gboolean isarray; |
46 gboolean isarray; |
| 47 JsonArray *array; |
47 JsonArray *array; |
| 48 guint index; |
48 guint index; |
| 49 |
49 |
| 50 GError *error; |
50 GError *error; |
| |
51 } FbJsonValuesPrivate; |
| |
52 |
| |
53 /** |
| |
54 * FbJsonValues: |
| |
55 * |
| |
56 * Represents a JSON value handler. |
| |
57 */ |
| |
58 struct _FbJsonValues |
| |
59 { |
| |
60 GObject parent; |
| |
61 FbJsonValuesPrivate *priv; |
| 51 }; |
62 }; |
| 52 |
63 |
| 53 G_DEFINE_TYPE_WITH_PRIVATE(FbJsonValues, fb_json_values, G_TYPE_OBJECT); |
64 G_DEFINE_TYPE_WITH_PRIVATE(FbJsonValues, fb_json_values, G_TYPE_OBJECT); |
| 54 |
65 |
| 55 static void |
66 static void |