-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improved the entry point of the documentation.
Signed-off-by: Paul-Elliot <[email protected]>
- Loading branch information
Showing
3 changed files
with
41 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
(documentation | ||
(package yojson)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{0 The [yojson] library} | ||
|
||
The Yojson library provides runtime functions for reading and writing JSON | ||
data from OCaml. It addresses a few shortcomings of its predecessor | ||
json-wheel and is about twice as fast (2.7x reading, 1.3x writing; results | ||
may vary). | ||
The design goals of Yojson are the following: | ||
- Reducing inter-package dependencies by the use of polymorphic | ||
variants for the JSON tree type. | ||
- Allowing type-aware serializers/deserializers | ||
to read and write directly without going through a generic JSON tree, | ||
for efficiency purposes. | ||
Readers and writers of all JSON syntaxic elements are provided | ||
but are undocumented and meant to be used by generated OCaml code. | ||
- Distinguishing between ints and floats. | ||
- Providing optional extensions of the JSON syntax. | ||
These extensions include comments, arbitrary strings, | ||
optional quotes around field names, tuples and variants. | ||
|
||
See {{:<http://json.org> JSON specification}json specification}. | ||
|
||
Author: Martin Jambon | ||
|
||
{1 Entry point} | ||
|
||
The entry point of this library is the module {!yojson}. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters