alisdair sullivan
|
e69d62f375
|
fix sort of a bug with escape sequences
|
2013-02-25 21:32:27 -08:00 |
|
alisdair sullivan
|
04f9fedeeb
|
add test to ensure incremental decoding works
|
2013-02-25 20:23:31 -08:00 |
|
alisdair sullivan
|
7f94b452fa
|
update comments to make control code handling slightly more clear
|
2013-02-25 17:37:49 -08:00 |
|
alisdair sullivan
|
01a2f06a91
|
vastly simplify string decoding, still needs tests for incompletes/errors
|
2013-02-25 17:24:06 -08:00 |
|
alisdair sullivan
|
71767e4d28
|
add test for bom in decoder
|
2013-02-24 20:10:48 -08:00 |
|
alisdair sullivan
|
82b7044d42
|
unescape tests for decoder
|
2013-02-24 02:28:33 -08:00 |
|
alisdair sullivan
|
fd9856341f
|
bad utf tests for decoder
|
2013-02-24 02:14:47 -08:00 |
|
alisdair sullivan
|
57e10dfca6
|
additional decoder tests
|
2013-02-24 01:59:54 -08:00 |
|
alisdair sullivan
|
00b593c6ea
|
add escape tests to decoder
|
2013-02-24 01:50:17 -08:00 |
|
alisdair sullivan
|
7b31bef0f6
|
more comprehensive string checking
|
2013-02-24 01:32:17 -08:00 |
|
alisdair sullivan
|
5d40e559c9
|
import old string parsing and fix parsing of single quoted strings
|
2013-02-24 01:07:16 -08:00 |
|
alisdair sullivan
|
257d7ee387
|
make tests more consistent in decoder
|
2013-02-24 00:54:16 -08:00 |
|
alisdair sullivan
|
6c51597f65
|
slightly generalize decoder for tests
|
2013-02-23 22:49:46 -08:00 |
|
alisdair sullivan
|
9244845c37
|
fix order of comments test
|
2013-02-21 00:13:07 -08:00 |
|
alisdair sullivan
|
6b6f713f96
|
add some tests for single quoted strings
|
2013-02-21 00:05:12 -08:00 |
|
alisdair sullivan
|
488132aecb
|
basic strings now FAST in decoder, escapes and bad utf nyi
|
2013-02-20 23:57:06 -08:00 |
|
alisdair sullivan
|
0392be060d
|
add tests for strings that need unescaping in decoding
|
2013-02-19 00:26:53 -08:00 |
|
alisdair sullivan
|
4d60fa2a08
|
add special number tests for floats and integers that have different representation in erlang and json
|
2013-02-13 21:54:09 -08:00 |
|
alisdair sullivan
|
9e01e3a704
|
reduce test cases to saner set
|
2013-02-13 19:13:50 -08:00 |
|
alisdair sullivan
|
5c96222cbf
|
add additional comment tests
|
2013-02-12 12:06:45 -08:00 |
|
alisdair sullivan
|
ff6a83598b
|
replace all incidences of opts with config
|
2013-02-12 11:54:42 -08:00 |
|
alisdair sullivan
|
2f47fdd642
|
simplify exportation of tests, add strings to test suite
|
2013-02-11 19:06:44 -08:00 |
|
alisdair sullivan
|
eaf19cde9c
|
extend tests to decoder, encoder and parser
|
2013-02-11 18:22:45 -08:00 |
|
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 |
|