Skip to content

Commit 641e114

Browse files
committed
Converted ecf file to complete void-safe.
Improved JSON_PRETTY_STRING_VISITOR to support STRING_8 or STRING_32 output. Added examples. Added doc in the folder "doc". Updated Readme and other files. Added package.iron file.
1 parent 9c6b6b9 commit 641e114

File tree

10 files changed

+503
-39
lines changed

10 files changed

+503
-39
lines changed

History.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ 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

License.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2010-2014 Javier Velilla and others,
1+
Copyright (c) 2010-2014 Javier Velilla, Jocelyn Fiat and others,
22
https://github.com/eiffelhub/json .
33

44

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)