Commit Graph

31 Commits

Author SHA1 Message Date
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
jvelilla
8357bf5d72 Update JSON_VALUE and JSON_OBJECT interface 2008-05-25 18:23:25 +00:00
jvelilla
8f3c7beba8 CDD classes 2008-05-25 00:03:46 +00:00
jvelilla
5a779fbb57 Add new test_json_object 2008-05-25 00:02:56 +00:00
jvelilla
4559b7fef5 Add new test_json_object 2008-05-25 00:00:43 +00:00
jvelilla
7dc33a52f6 Update JSON_STRING rutine is_equal
Update JSON_OBJECT new features (has_keys, item,get_keys), and fixed an incorrect use of HASH_TABLE
2008-05-24 23:57:04 +00:00
jvelilla
de347f6c98 eJson tests initial import 2008-05-24 15:04:36 +00:00
jvelilla
308fa7f2e7 eJson initial import 2008-05-24 14:23:27 +00:00