641e114fed
Converted ecf file to complete void-safe.
...
Improved JSON_PRETTY_STRING_VISITOR to support STRING_8 or STRING_32 output.
Added examples.
Added doc in the folder "doc".
Updated Readme and other files.
Added package.iron file.
2014-11-17 11:22:33 +01:00
Jocelyn Fiat
9c6b6b978a
Merge pull request #11 from jocelyn/improved_sept_2014
...
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.
Marked converters classes as obsolete.
Updated part of the code to use new feature names.
Updated license and copyright.
Updated classes with bottom indexing notes related to copyright and license.
2014-10-03 18:46:00 +02:00
0647a74875
Ensure backward compatibility for parse' / is_parsed'.
2014-10-03 18:44:09 +02:00
ae9f67391c
Marked converters classes as obsolete.
2014-09-30 10:46:28 +02:00
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
jvelilla
de282948e6
Merge pull request #9 from Conaclos/working
...
Apply pretty tool.
2014-07-08 17:25:35 +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
jvelilla
0db02a8c52
Merge pull request #8 from Conaclos/working
...
Tests - Update syntax and improve implementation
2014-07-04 14:07:41 +02:00
Conaclos
361773101e
Add documentation and contracts for domain types.
2014-06-30 18:32:14 +02:00
Conaclos
052860b62c
Improve converters.
...
Replace old syntax with new one and improve
implementation.
2014-06-30 18:31:42 +02:00
Conaclos
c5e1b1ee69
Syntax update.
...
Replace assigment attempt with object test.
2014-06-30 18:28:13 +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
b7750b9d06
Udated to highest level of void-safety.
...
Fixed obsolete calls.
2014-01-12 16:56:16 -03:00
jvelilla
a2cc3d8b29
Added DEBUG_OUTPUT to JSON_OBJECT
2013-11-08 10:38:44 -03:00
jvelilla
fa4cbd8fa8
Updated readme file
2013-11-08 09:57:27 -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
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