alisdair sullivan
|
9bf7554a35
|
remove wrong comment in jsx_common.hrl
|
2011-08-11 17:07:04 -07:00 |
|
alisdair sullivan
|
01a8154ac4
|
remove stream mode from jsx_terms and streamline options handling in jsx_terms to simplify migration to new api
|
2011-08-10 23:38:56 -07:00 |
|
alisdair sullivan
|
4a078bd44a
|
move opts handling to jsx.erl for earlier failure on badopts
|
2011-08-10 01:28:25 -07:00 |
|
alisdair sullivan
|
b3eb058463
|
revert change from strings/keys being presented as binaries to being presented as lists of characters. ~30% speedup
|
2011-07-31 19:05:30 -07:00 |
|
alisdair sullivan
|
5f3885c594
|
escape_forward_slash option to allow optional escaping of forward slashes during encoding. for compatibility with microsoft json date format
|
2011-07-29 00:18:33 -07:00 |
|
alisdair sullivan
|
100f707899
|
streamlined options
|
2011-07-28 19:21:19 -07:00 |
|
alisdair sullivan
|
653205501c
|
adds loose_unicode option which replaces badly formed unicode (escaped non-characters and restricted codepoints, as well as partial surrogates) with u+fffd instead of throwing an error
|
2011-07-27 01:59:03 -07:00 |
|
alisdair sullivan
|
9f2c353d89
|
add option for streaming mode for value based decoder
|
2011-07-26 13:32:15 -07:00 |
|
alisdair sullivan
|
63b3ca5a7f
|
minor fixes
|
2011-07-26 13:12:37 -07:00 |
|
alisdair sullivan
|
68d78c8e25
|
new api: strings and keys returned as binaries, integers as integers, floats as floats, tuple format changed from {event, ..., ...} to {jsx, ..., ...}, tests updated
|
2011-07-26 00:35:17 -07:00 |
|
alisdair sullivan
|
66f5e0b48a
|
adds {escaped_unicode, replace} option that replaces illegal escape sequences with the unicode replacement character u+fffd when encountered
|
2011-07-22 23:47:35 -07:00 |
|
alisdair sullivan
|
3bf5506292
|
unifies options to encoder/decoder to allow abstraction over various different built in iterators
|
2011-07-21 06:14:48 -07:00 |
|
alisdair sullivan
|
24492e2bdf
|
type specs update
|
2011-07-17 20:55:54 -07:00 |
|
alisdair sullivan
|
746d8e469c
|
renames jsx_opts to jsx_decoder_opts
|
2011-07-17 20:55:54 -07:00 |
|
alisdair sullivan
|
e80d337cc0
|
whitespace
|
2011-07-06 00:29:31 -07:00 |
|
alisdair sullivan
|
f3aa254664
|
reworks is_json to be more lenient, optionally more strict
|
2011-07-05 21:42:08 -07:00 |
|
alisdair sullivan
|
922e3e525e
|
removed now meaningless strict option from format and verify modules and associated types and specs
|
2011-07-04 21:04:10 -07:00 |
|
alisdair sullivan
|
0052480652
|
is_json/2 and format/2 now both accept either a json text (binary) or a function that acts as a jsx iterator. specs updated to reflect
|
2011-07-04 19:25:09 -07:00 |
|
alisdair sullivan
|
e20e6746a2
|
removes all traces of unquoted key and comment support
|
2011-07-03 17:42:44 -07:00 |
|
alisdair sullivan
|
26e479fc84
|
removes include dir, headers now live in src
|
2011-05-03 15:22:44 -07:00 |
|
alisdair sullivan
|
eb55eb9599
|
all five utfx variants supported now compiled from a single templated module
|
2010-06-07 16:15:40 -07:00 |
|
alisdair sullivan
|
fb497a20bc
|
added a streaming mode, use option [{stream_mode, true}] to use. no tests yet
|
2010-06-06 13:58:04 -07:00 |
|
alisdair sullivan
|
a7ed14b741
|
utf8, both varieties of utf16 and both varieties of utf32 are now autodetected properly (either via bom or null order) and decoded properly
|
2010-06-01 01:28:42 -07:00 |
|
alisdair sullivan
|
eadb7acbdd
|
change in design philosophy, core decoder and interface now a single file
|
2010-05-31 21:02:58 -07:00 |
|
alisdair sullivan
|
97520b06ae
|
changed comments_true macro to comments_enabled
|
2010-05-31 21:00:20 -07:00 |
|
alisdair sullivan
|
2a2275136a
|
Removed all records from the core decoder. Replaced with macros and a raw tuple containing options. Updated one test to account for changed api.
|
2010-05-31 21:00:20 -07:00 |
|
alisdair sullivan
|
6d90c49be3
|
punt validity of naked values to user level, they are now always valid in decoding
|
2010-05-31 21:00:20 -07:00 |
|
alisdair sullivan
|
7e6124fc88
|
explicit termination is no longer an option. the decoder now terminates whenever it reaches the end of an unambiguous json term and returns a function that accepts either more input to continue decoding or the empty binary to force termination.
examples are currently broken, but the test suite has been updated to reflect the new api.
|
2010-05-31 21:00:16 -07:00 |
|
alisdair sullivan
|
feaef7380c
|
changed api of jsx_parser
|
2010-05-31 21:00:06 -07:00 |
|
alisdair sullivan
|
8e05d0c1a6
|
added license/copywrite to all code
|
2010-05-31 21:00:06 -07:00 |
|
alisdair sullivan
|
6515f9981d
|
added option for explicit termination requirement when parsing streams
|
2010-05-31 21:00:05 -07:00 |
|
alisdair sullivan
|
e3f5637da1
|
should now be possible to autodirect utf encoding
|
2010-05-31 21:00:04 -07:00 |
|
alisdair sullivan
|
baf8561780
|
moved the opts record back to private header file
|
2010-05-31 21:00:04 -07:00 |
|
alisdair sullivan
|
7468313ffc
|
moved opts record def from jsx_common.hrl to a public jsx.hrl header file
actually included the new header, oops
|
2010-05-31 21:00:00 -07:00 |
|
alisdair sullivan
|
5c36ec18d7
|
added naked (unwrapped) values option and rewrote the handling of comments to reduce line count and be slightly clearer
|
2010-05-31 20:59:49 -07:00 |
|
alisdair sullivan
|
121fe34474
|
first working version
|
2010-05-18 12:16:25 -07:00 |
|