Skip to content

Commit b7a12ed

Browse files
committed
Merge branch 'master' of https://github.com/eiffelhub/json
2 parents 44b1ccb + 33b555f commit b7a12ed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+3956
-2955
lines changed

contrib/library/text/parser/json/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
*.ecf text
88
*.bat text
99
*.json text
10+
*.txt text
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
*.swp
2-
EIFGENs
2+
EIFGENs/

contrib/library/text/parser/json/History.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
History file for EJSON
1+
History file for EJSON
22
======================
33

44
team: ""
55
date: "2011-07-06"
66
revision: "0.3.0"
77

8+
WARNING: THIS FILE IS NOT UP TO DATE
9+
810

911
+++++++++++++++++++++Important Changes since 0.2.0 version++++++++++++++++++++++++++++++++++++++++++++++
1012

@@ -23,4 +25,4 @@ implementation.
2325

2426
*Added converters and factory classes
2527

26-
*Added new top level directories; library, test, build and example
28+
*Added new top level directories; library, test, build and example
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
Copyright (c) 2010 Javier Velilla and others, http://ejson.origo.ethz.ch
1+
Copyright (c) 2010-2014 Javier Velilla, Jocelyn Fiat and others,
2+
https://github.com/eiffelhub/json .
23

34

45
Permission is hereby granted, free of charge, to any person obtaining a copy
56
of this software and associated documentation files (the "Software"), to deal
67
in the Software without restriction, including without limitation the rights
78
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
89
copies of the Software, and to permit persons to whom the Software is
9-
furnished to do so, subject to the following conditions:
10+
furnished to do so, subject to the following conditions:
1011

1112
The above copyright notice and this permission notice shall be included in
12-
all copies or substantial portions of the Software.
13+
all copies or substantial portions of the Software.
1314

1415
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1516
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1617
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1718
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1819
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1920
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20-
THE SOFTWARE.
21+
THE SOFTWARE.

contrib/library/text/parser/json/Readme.txt

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
11
Readme file for eJSON
22
=====================
33

4-
team: "Javier Velilla,Jocelyn Fiat, Paul Cohen"
5-
date: "$Date$"
6-
revision: "$Revision$"
4+
team: "Javier Velilla, Jocelyn Fiat"
5+
previous contributors: "Paul Cohen"
6+
date: "2014-nov-17"
77

88
1. Introduction
99
---------------
1010

1111
eJSON stands for Eiffel JSON library and is a small Eiffel library for dealing
12-
with the JSON format. The objective of the library is to provide two basic
13-
features Eiffel2JSON and JSON2Eiffel.
12+
with the JSON format. This library provides a JSON parser and visitors,
13+
including a pretty printer.
14+
15+
The converters part is now obsolete and not recommended (remember: the
16+
objective of converters were to provide two basic features Eiffel2JSON and
17+
JSON2Eiffel). There will be a new design for converters as a standalone
18+
library on top of Current json library.
1419

1520
2. Legal stuff
1621
--------------
1722

18-
eJSON is copyrighted by the author Javier Velilla and others. It is licensed
23+
eJSON is copyrighted by the author Javier Velilla, Jocelyn Fiat and others. It is licensed
1924
under the MIT License. See the file license.txt in the same directory as this
2025
readme file.
2126

@@ -46,18 +51,18 @@ Currently the only documentation on eJSON is available at:
4651

4752
EJSON requires that you have:
4853

49-
1. Gobo 3.9 installed or later
50-
2. One of the following compiler combinations installed:
51-
* ISE Eiffel 6.5 or later.
54+
1. One of the following compiler combinations installed:
55+
* ISE Eiffel 13.11 or later.
5256
* gec [try to test]
53-
* tecomp [try to test]
5457

5558
eJSON probably works fine with other versions of the above compilers.
5659
There are no known platform dependencies (Windows, Linux).
5760

5861
To install eJSON simply extract the ejson-X.Y.Z.zip file to some appropriate
5962
place on your hard disk. There are no requirements on environment variables or
60-
registry variables.
63+
registry variables.
64+
Note eJSON is also delivered within EiffelStudio release, under
65+
$ISE_LIBRARY/contrib/library/text/parser/json
6166

6267
To verify that everything works you should compile the example programs and/or
6368
the test program.
@@ -70,18 +75,18 @@ installation.
7075

7176
Directory Description
7277
--------- -----------
73-
doc Contains the eJSON.pdf documentation file.
74-
examples Contains the two example programs.
75-
ejson Contains the actual eJSON library classes.
76-
test Contains a test program for eJSON.
78+
doc Contains documentation file.
79+
examples Contains example codes.
80+
library Contains the actual eJSON library classes.
81+
test Contains test suite for eJSON.
7782

7883
7. Contacting the Team
7984
----------------------
8085

8186
Contact the team:
8287

88+
https://github.com/eiffelhub/json/issues
8389
Javier Velilla «[email protected]»
84-
Paul Cohen «[email protected]»
8590
Jocelyn Fiat «[email protected]»
8691

8792
8. Releases
@@ -92,8 +97,16 @@ history.txt.
9297

9398
Version Date Description
9499
------- ---- -----------
100+
0.6.0 2014-11-17 Fixed various issue with parsing string (such as \t and related),
101+
Implemented escaping of slash '/' only in case of '</' to avoid
102+
potential issue with javascript and </script>
103+
Many feature renaming to match Eiffel style and naming convention,
104+
kept previous feature as obsolete.
105+
Restructured the library to make easy extraction of "converter"
106+
classes if needed in the future.
107+
Marked converters classes as obsolete.
95108
0.5.0 2013-11-dd Added JSON_ITERATOR, simplified JSON_OBJECT
96109
0.4.0 2012-12-12 Updated documentation URI
97110
0.3.0 2011-07-06 JSON Factory Converters
98111
0.2.0 2010-02-07 Adapted to EiffelStudio 6.4 or later, supports void-safety
99-
0.1.0 2010-02-07 First release, Adapted to SmartEiffel 1.2r7 and EiffelStudio 6.2 or previous
112+
0.1.0 2010-02-07 First release, Adapted to SmartEiffel 1.2r7 and EiffelStudio 6.2 or previous

0 commit comments

Comments
 (0)