You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/Pages/index.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,18 +39,24 @@ data formats such as [CBOR](http://cbor.io/). It supports
39
39
40
40
- Streaming JSON read and write events, somewhat analogously to SAX (push parsing) and StAX (pull parsing) in the XML world.
41
41
42
+
The jsoncons library is header-only: it consists solely of header files containing templates and inline functions, and requires no separately-compiled library binaries when linking. It has no dependence on other libraries.
43
+
44
+
To install the librray, download the [latest release](https://github.com/danielaparker/jsoncons/releases) and unpack the zip file. Copy the directory `include/jsoncons` to your `include` directory. If you wish to use extensions, copy `include/jsoncons_ext` as well.
45
+
46
+
Or, download the latest code on [master](https://github.com/danielaparker/jsoncons/archive/master.zip).
47
+
42
48
Compared to other JSON libraries, jsoncons has been designed to handle very large JSON texts. At its heart are
43
49
SAX style parsers and serializers. Its [json parser](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/json_parser.md) is an
44
50
incremental parser that can be fed its input in chunks, and does not require an entire file to be loaded in memory at one time.
45
51
Its unpacked in-memory representation of JSON is more compact than most, and can be made more compact still with a user-supplied
46
52
allocator. It also supports memory efficient parsing of very large JSON texts with a [pull parser](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/json_staj_reader.md),
47
53
built on top of its incremental parser.
48
54
49
-
The jsoncons library is header-only: it consists solely of header files containing templates and inline functions, and requires no separately-compiled library binaries when linking. It has no dependence on other libraries.
50
-
51
-
To install the librray, download the [latest release](https://github.com/danielaparker/jsoncons/releases) and unpack the zip file. Copy the directory `include/jsoncons` to your `include` directory. If you wish to use extensions, copy `include/jsoncons_ext` as well.
52
-
53
-
Or, download the latest code on [master](https://github.com/danielaparker/jsoncons/archive/master.zip).
55
+
The [jsoncons data model](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/data-model.md) supports the familiar JSON types - nulls,
56
+
booleans, numbers, strings, arrays, objects - plus byte strings. In addition, jsoncons
57
+
supports semantic tagging of date-time values, timestamp values, big numbers,
58
+
decimal fractions and binary encodings. This allows it to preserve these type semantics when parsing
59
+
JSON-like data formats such as CBOR that have them.
54
60
55
61
The jsoncons classes and functions are in namespace `jsoncons`. You need to include the header file
0 commit comments