jfiat
c836d75191
Added more conversion, and accept READABLE_STRING_8 as argument for make_json
2011-10-07 12:25:00 +00:00
jfiat
3739909e43
Minor changes + cosmetics
...
Added conversion from STRING to JSON_STRING to help users.
2011-10-07 12:19:27 +00:00
jvelilla
05b4bd90f5
Added test cases from getest to autotest. First version.
2011-07-11 12:07:05 +00:00
jfiat
6188f99615
added run_autotest.bat scripts
2011-07-08 10:10:40 +00:00
jfiat
28a699e5f2
Converted the autotest test suite to void-safety
...
+ cosmetics
2011-07-07 14:39:06 +00:00
jfiat
591cfb6cfa
Now if you want to use the json utilities for gobo, you just need to include the json_gobo_extension.ecf (note that the related gobo classes are not void-safe)
...
+ cosmetics
2011-07-07 14:03:36 +00:00
jvelilla
f4c472cb9f
Updated eJSON to use Eiffel 6.8 version.
...
Basically the changes are:
Replace ? by detachable
indexing by note
removing `is' from features, and in some places replaced by =
In the ecf now we need to include every gobo library, because the gobo.ecf, exclude libraries that are needed.
TODO: the test-suite is not void-safety.
2011-07-07 12:03:25 +00:00
jvelilla
94c5c90eaa
Updated History and Readme files.
2011-07-06 22:12:26 +00:00
jvelilla
e638eeaae4
Updated skip_white_spaces, now check %U and %T codes
2010-03-16 00:08:37 +00:00
jvelilla
5d63c63a39
Undo changes to is_a_valid_number, because it's doesn't follow the JSON spec. Tests : fail13.json, fail29.json and fail30.json are valid with this implementation, so we go back to the previous implementation.
2010-03-10 11:16:16 +00:00
jvelilla
a863e495ae
Updated test_json_fail18 , it's a valid JSON, maybe we need to rename this to test_json_pass4 and the file fail18.json to pass4.json
2010-03-10 11:07:33 +00:00
jvelilla
327196a3cf
Removed obsolete cluster.
2010-03-09 11:41:08 +00:00
jvelilla
805874dc9c
Added autotest test suite
2010-03-09 11:37:55 +00:00
paul.cohen
11256d697d
Added getest based test program
2010-03-08 23:46:59 +00:00
jvelilla
b389d532b7
Updated Eiffel configuration file, updated to the new clusters
2010-03-08 23:43:35 +00:00
paul.cohen
a0e570226c
Ported r75 (all JSON value classes) from POC_CONVERTERS_FACTORY branch to trunk
2010-03-08 22:45:41 +00:00
paul.cohen
2710cae1da
Merged converters and factory classes from POC_CONVERTERS_FACTORY to trunk
2010-03-08 15:35:32 +00:00
paul.cohen
8cd53b87eb
New directory layout created
2010-03-08 15:28:47 +00:00
paul.cohen
6bef8ec387
Added new top level directories; library, test, build and example
2010-03-08 15:08:37 +00:00
jvelilla
f86abed2ff
Added History, Readme and License files
2010-03-05 09:18:38 +00:00
jvelilla
7a31e80f90
Simples fixes to the parser, add is_valid_start_symbol and updated parse_json.
2009-08-14 11:19:54 +00:00
jvelilla
aed8d1a516
Added set_representation feature.
2009-08-14 11:09:38 +00:00
jfiat
ab19cc2b16
use item (i) instead [i]
2009-08-13 06:32:32 +00:00
jfiat
d4da754a9c
Optimized code, and removed extra dependencies.
...
Added void-safe version
2009-08-04 12:01:03 +00:00
jfiat
f1f1f5fbf6
Fixed typo
2009-03-18 16:46:27 +00:00
jfiat
548a320448
Cosmetic + Optimization + Assertion + Void-safety
...
(no significant interface changes)
2009-03-18 15:29:41 +00:00
jvelilla
1359a1ceae
Add descriptions.
...
Change in skip_withe_spaces to handle newline %N and carriage Return %R
2008-08-29 10:49:24 +00:00
jvelilla
fc7c2d151f
Change in the loop, to generate the correct answer (feature visit_json_object).
2008-08-29 10:45:04 +00:00
jvelilla
4e6935655f
Add cluster visitor.
2008-08-29 10:40:12 +00:00
berend
d940da7b13
SmartEiffel doesn't have is_space.
2008-08-27 04:29:42 +00:00
berend
31619fc88e
JSON number is a double precision IEEE number, not a single precision.
2008-08-27 04:29:12 +00:00
berend
bf781a9d25
Changed formatting a bit.
...
Made it compile with SE 1.2r7
2008-08-27 04:26:44 +00:00
jvelilla
31750efb8e
Add accept method (JSON_VISITOR), remove is_xxx queries, remove to_json feature.
...
Improve comments
2008-08-25 01:13:35 +00:00
jvelilla
f83c5d2643
Add Visitor Pattern , JSON_VISITOR and PRINT_JSON_VISITOR
2008-08-25 01:10:42 +00:00
jvelilla
c59bc37a40
Fix Bug in quey 'is_a_valid_number'
...
Remove the space after : in the regular expression "-?(?: 0|[1-9]\d*)(?: \.\d+)?(?: [eE][+-]?\d+)?\b"
2008-08-08 11:17:32 +00:00
jvelilla
b674dbddf7
Add precondition in query i_th
...
Remove infix "@" which is deprecated now.
Add invariant for values to show that it is always not Void.
Add postcondition of add.
2008-08-08 11:12:27 +00:00
jvelilla
ed5f8a9740
Redefine the version of ANY of is_equal.
2008-08-08 11:08:51 +00:00
jvelilla
2c42c0dd1a
Change void to Void.
...
Add invariant for 'object' , object_no_null /= Void
2008-08-08 11:04:33 +00:00
jvelilla
d64e01641b
Reformatted code to Eiffel Standard
2008-08-08 11:01:14 +00:00
berend
fa35ab07a0
Fixed bug where a JSON string had to end with CRLF. But that's optional.
...
Reformatted code to Gobo standard.
2008-08-05 03:26:08 +00:00
berend
0bf10c633f
Reformatted code to Gobo standard.
2008-08-05 03:25:14 +00:00
jvelilla
bc1e6653ae
Add Regular expression to check valid numbers and valid unicodes.
...
Add errors to the parser, under development
2008-07-13 03:30:54 +00:00
jvelilla
b9ccf20d53
Add explicit control characters.
2008-07-13 03:19:20 +00:00
jvelilla
3e7f107b36
Update json.ecf,
...
Dependencies on Gobo Library. (Regular Expressions)
2008-07-13 03:17:37 +00:00
jvelilla
aa8c2d0a95
Update parse_number
2008-07-09 02:40:38 +00:00
jvelilla
65cd9e8780
Add new files to test ejson, based on json t test material http://www.json.org/JSON_checker/test.zip
2008-06-09 02:24:33 +00:00
jvelilla
cb595d27f4
Update JSON_OBJECT, put routine, now follows Eiffel Style based on HAST_TABLE
2008-06-09 02:18:34 +00:00
jvelilla
aaa10d178a
Update Parser with is_parsed.
...
Update parse_string
2008-06-09 01:32:28 +00:00
jvelilla
1052c10b8d
Update test
2008-05-25 18:29:54 +00:00
jvelilla
3083f378a6
Update test
2008-05-25 18:28:40 +00:00