82f832a556
Updated license and copyright.
...
Updated classes with bottom indexing notes related to copyright and license.
2014-09-30 10:46:12 +02:00
19dbbf89e7
Fixed various issue with parsing string (such as \t and related),
...
Implemented escaping of slash '/' only in case of '</' to avoid potential issue with javascript and </script>
Many feature renaming to match Eiffel style and naming convention, kept previous feature as obsolete.
Restructured the library to make easy extraction of "converter" classes if needed in the future.
Updated part of the code to use new feature names.
2014-09-24 20:08:12 +02:00
Conaclos
20e704604a
Apply pretty print tool.
...
Apply on each class in test suite and library.
2014-07-04 17:59:05 +02:00
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
f94820c824
Fixing JSON encoding code to include among other TAB (%T <-> \t)
2014-04-09 08:34:43 +02:00
cb7c20a0b7
Udated to highest level of void-safety.
...
Fixed obsolete calls.
2014-02-03 09:52:09 +01:00
jvelilla
a2cc3d8b29
Added DEBUG_OUTPUT to JSON_OBJECT
2013-11-08 10:38:44 -03:00
jvelilla
884b6b1339
Merge branch 'master' of https://github.com/eiffelhub/json
2013-11-08 09:55:21 -03:00
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
jvelilla
64bde6220c
Merge branch 'master' of https://github.com/eiffelhub/json
2013-11-07 19:19:50 -03:00
jvelilla
3406780f65
Updated comments, add DEBUG_OUPUT to JSON_ARRAY.
2013-11-07 19:18:20 -03:00
Jocelyn Fiat
597e0e82b9
cosmetic and indexing note description
2013-11-07 23:14:50 +01:00
jvelilla
8a96ed87b1
Normalize line endings
2013-11-07 17:55:15 -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
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
f361ce65c6
[FIX] Convertion from HASH_TABLE keys to JSON
2012-09-12 20:05:49 +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
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
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
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