2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
5 <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
6 <!ENTITY % gtkdocentities SYSTEM "xml/gtkdocentities.ent">
10 <book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
12 <title>JSON-GLib Reference Manual</title>
13 <releaseinfo>for JSON-GLib &package_version;</releaseinfo>
16 <year>2007, 2008</year>
17 <holder>OpenedHand LTD</holder>
21 <year>2009, 2010, 2011</year>
22 <holder>Intel Corporation</holder>
27 Permission is granted to copy, distribute and/or modify this
28 document under the terms of the <citetitle>GNU Free
29 Documentation License</citetitle>, Version 1.1 or any later
30 version published by the Free Software Foundation with no
31 Invariant Sections, no Front-Cover Texts, and no Back-Cover
32 Texts. You may obtain a copy of the <citetitle>GNU Free
33 Documentation License</citetitle> from the Free Software
34 Foundation by visiting <ulink type="http"
35 url="http://www.fsf.org">their Web site</ulink> or by writing
39 The Free Software Foundation, Inc.,
40 <street>59 Temple Place</street> - Suite 330,
41 <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>,
42 <country>USA</country>
50 <title>JSON-GLib Overview</title>
55 JSON-GLib is a library aimed at providing an API for efficient parsing
56 and writing of JSON (JavaScript Object Notation) streams, using GLib's
65 <title>JSON-GLib Reference</title>
70 JSON-GLib provides wrappers around the complex data types defined
71 by the JSON specification. The fundamental types are handled using
72 the Generic Value container (GValue) provided by GLib.
76 JSON complex data types are either arrays (a n-tuple of items)
77 or objects (a mapping between a string and a value); arrays and
78 objects can contain multiple values, including other arrays and
85 <title>Data Types</title>
86 <xi:include href="xml/json-node.xml"/>
87 <xi:include href="xml/json-array.xml"/>
88 <xi:include href="xml/json-object.xml"/>
93 <part id="json-streams">
94 <title>Reading and writing</title>
99 JSON-GLib provides a parser object to read any valid JSON data
100 stream and build the data object model in memory.
106 <title>Parser</title>
107 <xi:include href="xml/json-parser.xml"/>
108 <xi:include href="xml/json-reader.xml"/>
109 <xi:include href="xml/json-path.xml"/>
113 <title>Generator</title>
114 <xi:include href="xml/json-generator.xml"/>
115 <xi:include href="xml/json-builder.xml"/>
119 <title>General Purpose API</title>
120 <xi:include href="xml/json-utils.xml"/>
125 <part id="json-advanced">
126 <title>JSON-GLib Advanced API</title>
128 <xi:include href="xml/json-gobject.xml"/>
129 <xi:include href="xml/json-serializable.xml"/>
130 <xi:include href="xml/json-gboxed.xml"/>
131 <xi:include href="xml/json-gvariant.xml"/>
132 <xi:include href="xml/json-version.xml"/>
135 <part id="json-tools">
136 <title>JSON-GLib Additional Reference</title>
139 <title>JSON-GLib Tools</title>
140 <xi:include href="json-glib-format.xml"/>
141 <xi:include href="json-glib-validate.xml"/>
145 <title>Object Hierarchy</title>
146 <xi:include href="xml/tree_index.sgml"/>
153 <xi:include href="xml/api-index-full.xml"><xi:fallback/></xi:include>
156 <index role="deprecated">
157 <title>Index of deprecated symbols</title>
158 <xi:include href="xml/api-index-deprecated.xml"><xi:fallback/></xi:include>
162 <title>Index of new symbols in 0.4</title>
163 <xi:include href="xml/api-index-0.4.xml"><xi:fallback/></xi:include>
167 <title>Index of new symbols in 0.6</title>
168 <xi:include href="xml/api-index-0.6.xml"><xi:fallback/></xi:include>
172 <title>Index of new symbols in 0.8</title>
173 <xi:include href="xml/api-index-0.8.xml"><xi:fallback/></xi:include>
177 <title>Index of new symbols in 0.10</title>
178 <xi:include href="xml/api-index-0.10.xml"><xi:fallback/></xi:include>
182 <title>Index of new symbols in 0.12</title>
183 <xi:include href="xml/api-index-0.12.xml"><xi:fallback/></xi:include>
187 <title>Index of new symbols in 0.14</title>
188 <xi:include href="xml/api-index-0.14.xml"><xi:fallback/></xi:include>
192 <title>Index of new symbols in 0.16</title>
193 <xi:include href="xml/api-index-0.16.xml"><xi:fallback/></xi:include>
197 <title>Index of new symbols in 1.0</title>
198 <xi:include href="xml/api-index-1.0.xml"><xi:fallback/></xi:include>
202 <title>Index of new symbols in 1.2</title>
203 <xi:include href="xml/api-index-1.2.xml"><xi:fallback/></xi:include>
206 <xi:include href="xml/annotation-glossary.xml"><xi:fallback/></xi:include>
208 <appendix id="license">
209 <title>License</title>
212 This library is free software; you can redistribute it and/or
213 modify it under the terms of the <citetitle>GNU Library General
214 Public License</citetitle> as published by the Free Software
215 Foundation; either version 2 of the License, or (at your option)
220 This library is distributed in the hope that it will be useful,
221 but WITHOUT ANY WARRANTY; without even the implied warranty of
222 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
223 <citetitle>GNU Library General Public License</citetitle> for
228 You may obtain a copy of the <citetitle>GNU Library General
229 Public License</citetitle> from the Free Software Foundation by
230 visiting <ulink type="http" url="http://www.fsf.org">their Web
231 site</ulink> or by writing to:
234 Free Software Foundation, Inc.
235 <street>59 Temple Place</street> - Suite 330
236 <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>
237 <country>USA</country>