a74cda2f33
Added support for UTF-8 during decoding.
...
The JSON specification does not require it, but some json encoders are using utf-8 encoding for json encoding.
Added related autotest case.
2014-04-22 15:45:31 +02:00
cb7c20a0b7
Udated to highest level of void-safety.
...
Fixed obsolete calls.
2014-02-03 09:52:09 +01:00
jvelilla
137af843af
Fixed normalized line endings
2013-11-07 18:14:59 -03:00
jvelilla
8a96ed87b1
Normalize line endings
2013-11-07 17:55:15 -03:00
Olivier Ligot
233de09c48
Fix {JSON_OBJECT}.hash_code implementation
...
Don't call {HASH_TABLE}.item_for_iteration when {HASH_TABLE}.off
Use {HASH_TABLE}.out instead
2012-12-10 17:39:22 +01:00
Olivier Ligot
42b971f28e
[FIX] Unknown identifier 'unescaped_string'
2012-09-12 17:14:49 +02:00
Jocelyn Fiat
b6464cf5e7
removed "getest" since it is duplication with autotest (and we use mainly the later for regression testing)
2012-08-08 09:13:33 +02:00
Jocelyn Fiat
8b33c77008
Added JSON_PRETTY_STRING_VISITOR
...
Added converter for ARRAYED_LIST
Fixed STRING_32 to JSON_VALUE issue in ejson.e
Added missing new line character at the end of some files.
Cosmetic
2012-08-08 08:51:00 +02:00
jfiat
a6c52c0a7e
Renamed JSON_STRING.unescaped_string as unescaped_string_8
...
+ code cleaning
2012-01-13 17:57:49 +00:00
jfiat
d67e01eea6
Better support for special character and unicode (\n \r \" ... and \uXXXX where XXXX is an hexadecimal value)
...
Added features to JSON_STRING
- make_json_from_string_32 (READABLE_STRING_32)
- escaped_string_8: STRING_8
- escaped_string_32: STRING_32
Added associated autotests
2012-01-13 17:26:23 +00:00
jfiat
1b446caa27
Removing autotest dotnet target, since Autotest does not support .Net platform for now
2011-11-21 13:54:50 +00:00
jfiat
24b1be7482
Fixed code from autotest tests to remove warnings
...
Fixed getest ejson_test.ecf configuration file
Added script to allow using getest from Windows.
Note: I did not fixed warning from getest tests, we should apply same change already made for autotest.
it seems autotest and getests are doing the same checking,
I would suggest to either remove getest files or find a way to share test code between getest and autotest tests.
2011-11-21 09:20:46 +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
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
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