alisdair sullivan
|
eaba8c7b0f
|
remove redundant code in decoder
|
2013-01-22 23:44:15 -08:00 |
|
alisdair sullivan
|
83a219ba80
|
more specific guarding in string fsm
|
2012-12-28 06:43:35 -08:00 |
|
alisdair sullivan
|
1982665507
|
extend decoder tests to be more comprehensive
|
2012-12-28 06:35:26 -08:00 |
|
alisdair sullivan
|
844ee2407f
|
previously, unambiguously incomplete input was sometimes treated as ambiguous. the 'incomplete_input' flag is no longer needed to parse this input correctly
|
2012-11-21 23:35:15 -08:00 |
|
alisdair sullivan
|
6ff94d8e5f
|
strip trailing whitespace
|
2012-11-21 23:04:14 -08:00 |
|
alisdair sullivan
|
d081bd2539
|
change all stray badjson to badarg
|
2012-05-24 23:07:03 -07:00 |
|
Bob Ippolito
|
6ff1471550
|
handle escaped solidus correctly per JSON spec
|
2012-04-26 13:04:17 -07:00 |
|
alisdair sullivan
|
ded212c397
|
minor refactoring of jsx_decoder in prep for post_decode hook
|
2012-04-06 08:35:40 -07:00 |
|
alisdair sullivan
|
e69ac5f371
|
detect utf8 bom and ignore if present
|
2012-04-04 20:46:41 -07:00 |
|
alisdair sullivan
|
19402fbee4
|
two new tests for comments and one (tiny) fix for trailing comments
|
2012-04-01 17:53:59 -07:00 |
|
alisdair sullivan
|
7b5f56a4be
|
minor refactoring in jsx_decoder
|
2012-04-01 17:27:55 -07:00 |
|
alisdair sullivan
|
3e56b7ff3d
|
more explicit handling of comments
|
2012-04-01 17:16:22 -07:00 |
|
alisdair sullivan
|
3bc2c68ea3
|
fix the tenses and forms of option flags
|
2012-03-31 21:58:18 -07:00 |
|
alisdair sullivan
|
357e3e0aeb
|
add naked single quoted json escape test
|
2012-03-31 21:19:26 -07:00 |
|
alisdair sullivan
|
1c9da676b7
|
remove decode/1 from jsx_decoder test suite
|
2012-03-31 20:39:15 -07:00 |
|
alisdair sullivan
|
068af5621a
|
add tests for ignore_bad_escapes
|
2012-03-31 20:38:51 -07:00 |
|
alisdair sullivan
|
66cb67148f
|
whitespace changes in jsx_decoder.erl
|
2012-03-31 17:51:20 -07:00 |
|
alisdair sullivan
|
60bc46e2d4
|
add test suite for json_escape in decoder
|
2012-03-31 17:45:23 -07:00 |
|
alisdair sullivan
|
ae2aae1ebf
|
style and whitespace
|
2012-03-31 17:45:23 -07:00 |
|
alisdair sullivan
|
ad3e870615
|
more fixes for json_escape
|
2012-03-30 23:17:05 -07:00 |
|
alisdair sullivan
|
6f6a660177
|
fix escaping problems in format/x
|
2012-03-29 21:43:55 -07:00 |
|
alisdair sullivan
|
63535b27d7
|
check more extended codepoints
|
2012-03-29 06:25:49 -07:00 |
|
alisdair sullivan
|
5f6d7c1f01
|
upon further consideration, ignoring bad \uuXXXX escape sequences could be dangerous, remove test
|
2012-03-29 00:18:53 -07:00 |
|
alisdair sullivan
|
867199539c
|
add (failing) tests for bad escape sequences
|
2012-03-29 00:13:08 -07:00 |
|
alisdair sullivan
|
9d2448669e
|
whitespace
|
2012-03-28 23:46:18 -07:00 |
|
alisdair sullivan
|
dc6a026e94
|
add tests for bad utf sequences, fix failures
|
2012-03-28 23:31:07 -07:00 |
|
alisdair sullivan
|
7e243bafd1
|
remove tests for malformed 5 and 6 byte sequences
|
2012-03-28 21:23:35 -07:00 |
|
alisdair sullivan
|
9bdbf7969b
|
noncharacters work with incompletes now
|
2012-03-28 19:50:57 -07:00 |
|
alisdair sullivan
|
cf6dbd6480
|
properly guard noncharacters
|
2012-03-28 19:34:49 -07:00 |
|
alisdair sullivan
|
7a1bcc4992
|
bad utf sequences were being replaced with u+fffd per byte, they are now correctly replaced with just a single u+fffd codepoint
|
2012-03-27 23:18:06 -07:00 |
|
alisdair sullivan
|
addb1e172d
|
fix for failing tests on R14BXX
|
2012-03-27 16:56:12 -07:00 |
|
alisdair sullivan
|
42d6ef2c21
|
refactor of encoded codepoints with looser string restrictions
|
2012-03-27 14:44:02 -07:00 |
|
alisdair sullivan
|
672fe04c37
|
additional noncharacter handling for R14BXX
|
2012-03-27 13:41:23 -07:00 |
|
alisdair sullivan
|
f1c4a85df1
|
loosen restrictions on allowed codepoints in strings
|
2012-03-26 19:39:28 -07:00 |
|
alisdair sullivan
|
41002bd10f
|
comment explaining weird string functions
|
2012-03-26 18:52:06 -07:00 |
|
alisdair sullivan
|
bc588ceb7b
|
first step to better perf
|
2012-03-25 18:48:24 -07:00 |
|
alisdair sullivan
|
978e75887a
|
corrected handling of malformed utf8 sequences
|
2012-03-21 05:38:08 -07:00 |
|
alisdair sullivan
|
e36858d1ba
|
apply escape_forward_slash option to decoding as well as encoding
|
2012-03-21 05:36:39 -07:00 |
|
alisdair sullivan
|
e3c883457f
|
allow c and c++ style comments anywhere whitespace is legal
|
2012-03-21 05:36:39 -07:00 |
|
alisdair sullivan
|
97a7d295f1
|
the option single_quotes in functions dealing with json inputs now allows json that uses single quotes to deliminate keys and strings to be processed, note that this changes the escaping rules slightly
|
2012-03-21 05:35:16 -07:00 |
|
alisdair sullivan
|
1d5b9e7410
|
the option single_quotes in functions dealing with json inputs now allows json that uses single quotes to deliminate keys and strings to be processed, note that this changes the escaping rules slightly
|
2012-03-21 05:26:19 -07:00 |
|
alisdair sullivan
|
5155c96ac7
|
make tests runnable from basic rebar.config for users who have meck on path already
|
2012-03-06 19:59:49 -08:00 |
|
alisdair sullivan
|
d654a0e882
|
lift init methods into decoder/encoder
|
2012-03-05 19:53:55 -08:00 |
|
alisdair sullivan
|
e15a0e9a81
|
fully integrate gen_json.erl
|
2012-01-31 20:56:08 -08:00 |
|
alisdair sullivan
|
6dfaa61bfa
|
allow interchange of nullbyte in strings
|
2011-12-01 06:32:56 -08:00 |
|
alisdair sullivan
|
1cfd565458
|
removes obsolete comment in decoder
|
2011-12-01 06:24:34 -08:00 |
|
alisdair sullivan
|
55d0259c89
|
remove dead code
|
2011-11-29 19:37:37 -08:00 |
|
alisdair sullivan
|
14277e4972
|
reworked interface and internals, encoder broken but needs wholesale changes to match new interface
|
2011-11-23 20:54:10 -08:00 |
|
alisdair sullivan
|
738c6667f1
|
building strings internally as lists of codepoints and then converting to binaries is faster than building binaries directly or stripping strings from binaries with binary:copy
|
2011-11-02 01:11:58 -07:00 |
|
alisdair sullivan
|
0ea61233c5
|
strings returned as binaries
|
2011-10-28 06:31:40 -07:00 |
|