alisdair sullivan
|
fbbfc3bebb
|
changed error reporting for utf8 decoder, utf16 and utf32 variants currently throwing untrapped errors
|
2010-06-02 23:42:05 -07:00 |
|
alisdair sullivan
|
ad0b87aa37
|
readme updated
|
2010-06-02 23:02:45 -07:00 |
|
alisdair sullivan
|
3453c5ab2e
|
reexported detect_encoding from jsx.erl, remembered why it was exported
|
2010-06-02 21:54:25 -07:00 |
|
alisdair sullivan
|
0de4a87325
|
unexported detect_encoding from jsx.erl
|
2010-06-02 21:52:41 -07:00 |
|
alisdair sullivan
|
ef952ceee8
|
converted jsx_test to etap, fixed resulting bugs with autodetection
|
2010-06-01 23:33:56 -07:00 |
|
alisdair sullivan
|
ce503823c8
|
fixed bug related to partial utfx sequences
|
2010-06-01 19:42:43 -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
|
af3d9673a1
|
changed comments_true to comments_enabled, again
|
2010-05-31 21:03:04 -07:00 |
|
alisdair sullivan
|
46d859c6d0
|
restrict escaped codepoint conversion from inserting invalid codepoints into strings
|
2010-05-31 21:03:04 -07:00 |
|
alisdair sullivan
|
2cf20cf809
|
formatting
|
2010-05-31 21:03:04 -07:00 |
|
alisdair sullivan
|
c7ea7a6f08
|
fixed parsing error related to interrupted utf-8 seqences
|
2010-05-31 21:03:04 -07:00 |
|
alisdair sullivan
|
2bc885f3c4
|
correctly catch and convert badjson errors
|
2010-05-31 21:03:04 -07:00 |
|
alisdair sullivan
|
ac518dfe4a
|
decoder now catches function clause errors and converts them to {error, badjson} tuples
|
2010-05-31 21:03:04 -07:00 |
|
alisdair sullivan
|
c29f60ea34
|
changed end of tokenizing marker
|
2010-05-31 21:03:04 -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
|
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
|
6e16ce0943
|
allow unknown options temporarily
fixed warning
|
2010-05-31 21:00:17 -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
|
6deb3160ba
|
changed end of parsing token from eof to completed_parse
|
2010-05-31 21:00:16 -07:00 |
|
alisdair sullivan
|
1c5f54574c
|
reduced redundancy in callback handling, also renamed callback function to the more clear fold
|
2010-05-31 21:00:16 -07:00 |
|
alisdair sullivan
|
7d5ccfd86f
|
removed the default callback handler, replaced it with an anonymous function. also added a shortcut for a decoder with the default handler but custom opts
|
2010-05-31 21:00:16 -07:00 |
|
alisdair sullivan
|
86333b8e7f
|
did you know the module definition must be the first non-whitespace, non-comment line in a module? i did not
|
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
|
41292d4077
|
comments on tail_clean
|
2010-05-31 21:00:06 -07:00 |
|
alisdair sullivan
|
e9ddde9fb7
|
removed redundant initialization function, pushed to api level
|
2010-05-31 21:00:06 -07:00 |
|
alisdair sullivan
|
5d014bbef8
|
minor api change and refactoring of pretty_printer.erl
|
2010-05-31 21:00:05 -07:00 |
|
alisdair sullivan
|
d42acf4411
|
fixed a nasty performance regression caused by a misordered clause
|
2010-05-31 21:00:05 -07:00 |
|
alisdair sullivan
|
6515f9981d
|
added option for explicit termination requirement when parsing streams
|
2010-05-31 21:00:05 -07:00 |
|
alisdair sullivan
|
89f26ed1c9
|
autodetection actually works now
|
2010-05-31 21:00:04 -07:00 |
|
alisdair sullivan
|
7ffb26e7c2
|
fixed dumb illegal atom mistake
|
2010-05-31 21:00:04 -07:00 |
|
alisdair sullivan
|
e3f5637da1
|
should now be possible to autodirect utf encoding
|
2010-05-31 21:00:04 -07:00 |
|
alisdair sullivan
|
ab67abd01a
|
rewrote test harness to use eunit and make it easier to add future tests
|
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
|
a932422d17
|
public interface begun
|
2010-05-31 21:00:04 -07:00 |
|