source: project/wiki/eggref/4/json-abnf @ 15787

Last change on this file since 15787 was 15787, checked in by Ivan Raikov, 11 years ago

typo fixes

File size: 2.2 KB
Line 
1[[tags: eggs]]
2[[toc:]]
3
4== json-abnf
5
6=== Description
7
8The {{json-abnf}} library contains a procedure for parsing of
9JavaScript Object Notation (JSON) as described in
10[[http://tools.ietf.org/html/rfc4627|RFC 4627]]. It is intended to
11conform closely to the ABNF grammar in the RFC.
12
13
14=== Library Procedures
15
16* <procedure>(parser TEXT) => VALUE</procedure>
17
18Parses a JSON text and returns a corresponding Scheme value. JSON
19vectors and objects are represented as Scheme vectors and alists,
20respectively. JSON numbers, strings, and booleans are represented as
21Scheme numbers and strings. The JSON {{null}} constant is represented
22as the empty list in Scheme.
23
24=== Requires
25
26* [[abnf]]
27
28=== Version History
29
30* 1.0 Initial Release
31
32=== License
33
34  Copyright 2009 Ivan Raikov.
35  All rights reserved.
36 
37  Redistribution and use in source and binary forms, with or without
38  modification, are permitted provided that the following conditions are
39  met:
40 
41  Redistributions of source code must retain the above copyright
42  notice, this list of conditions and the following disclaimer.
43 
44  Redistributions in binary form must reproduce the above copyright
45  notice, this list of conditions and the following disclaimer in the
46  documentation and/or other materials provided with the distribution.
47 
48  Neither the name of the author nor the names of its contributors may
49  be used to endorse or promote products derived from this software
50  without specific prior written permission.
51 
52  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
53  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
54  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
55  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
56  COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
57  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
58  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
59  SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
60  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
61  STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
62  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
63  OF THE POSSIBILITY OF SUCH DAMAGE.
Note: See TracBrowser for help on using the repository browser.