Commit Graph

27 Commits

Author SHA1 Message Date
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
8e743f3253 Enhanced interface of JSON_ARRAY and JSON_OBJECT
Added JSON_ITERATOR
2013-08-05 12:07:07 +02: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
Olivier Ligot
6cd21c39eb [FIX] Indentation 2012-09-12 22:01:13 +02: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
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
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
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
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
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
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