jvelilla
9576779cce
Merge pull request #7 from ynh/simplify_json_object
...
Simplify the json object by adding type specific put and replace
2013-11-08 04:54:59 -08:00
Jocelyn Fiat
597e0e82b9
cosmetic and indexing note description
2013-11-07 23:14:50 +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
jvelilla
59b0d0d9fa
Added gitattribute configuration file
2013-11-07 17:38:02 -03:00
YNH Webdev
48251fb872
Add boolean
2013-09-27 10:25:36 +02:00
YNH Webdev
805ac5dacf
Remove remaining detachable variables
2013-09-25 12:52:17 +02:00
YNH Webdev
93f8cd789f
Make types attached
2013-09-25 12:50:17 +02:00
YNH Webdev
7b0d264aab
Fix formating
2013-09-25 10:08:10 +02:00
YNH Webdev
4d0dc964da
Rename procedures. Change input type of replace_with_string and
...
put_string
2013-09-25 10:03:38 +02:00
YNH Webdev
95fd5f93fc
Simplify the json object by adding type specific put and replace
2013-09-24 21:50:36 +02:00
jvelilla
fd09b39c1d
Merge pull request #6 from jocelyn/patch20130805
...
Enhanced interface of JSON_ARRAY and JSON_OBJECT and new JSON_ITERATOR
2013-08-05 14:16:28 -07:00
8e743f3253
Enhanced interface of JSON_ARRAY and JSON_OBJECT
...
Added JSON_ITERATOR
2013-08-05 12:07:07 +02:00
Jocelyn Fiat
3e976768ac
Merge pull request #3 from jvelilla/master
...
Fixed documentation URI
2012-12-12 09:58:35 -08:00
Jocelyn Fiat
dc16bcc87b
Merge pull request #4 from oligot/fix_json_object_hash_code
...
Fix {JSON_OBJECT}.hash_code implementation
2012-12-12 09:58:11 -08: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
Jocelyn Fiat
ab84e5a7a0
Fixed message for exception_failed_to_convert_to_json
...
Fixed indentation
2012-11-15 16:18:28 +01:00
jvelilla
f17abb1679
Update Readme.txt
...
Fixed documentation URI
2012-11-15 08:26:51 -02:00
Jocelyn Fiat
e17f00cad6
Merge pull request #1 from GroupeS/fix_hash_table_converter
...
[FIX] Convertion from DS_HASH_TABLE keys to JSON
2012-09-13 08:55:32 -07:00
Olivier Ligot
6cd21c39eb
[FIX] Indentation
2012-09-12 22:01:13 +02:00
Jocelyn Fiat
66af07e28e
Merge pull request #2 from oligot/fix_test_compilation
...
[FIX] Unknown identifier 'unescaped_string'
2012-09-12 12:49:47 -07:00
Olivier Ligot
f361ce65c6
[FIX] Convertion from HASH_TABLE keys to JSON
2012-09-12 20:05:49 +02:00
Olivier Ligot
d01bccbc84
Merge branch 'master' into fix_hash_table_converter
2012-09-12 19:54:06 +02: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
before_GETEST_removal
2012-08-08 08:51:00 +02:00
Olivier Ligot
aedf8ec1cd
[FIX] Convertion from DS_HASH_TABLE keys to JSON
...
This is useful when the type of the key is something else than a STRING
and we have a JSON converter for this type.
2012-08-02 14:06:48 +02:00
Jocelyn Fiat
6fa0d56465
cosmetic
2012-06-28 18:07:18 +02:00
Jocelyn Fiat
873f877530
Added TABLE_ITERABLE interface to JSON_OBJECT
...
Added JSON_OBJECT.replace (value, key)
2012-06-28 16:52:11 +02:00
jfiat
c873d62efa
added JSON_OBJECT.is_empty: BOOLEAN
2012-02-21 10:07:58 +00: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
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