alisdair sullivan
|
ed33626ed5
|
add encoder and decoder functions to api
|
2012-03-04 15:47:08 -08:00 |
|
alisdair sullivan
|
63faf04115
|
factor out gen_json
|
2012-03-02 22:53:45 -08:00 |
|
alisdair sullivan
|
093baaf515
|
add documentation for is_json
|
2011-12-14 21:32:17 -08:00 |
|
alisdair sullivan
|
6dacf64620
|
refactors out extraction of parser opts, generalizes use of specific parsers by processors
|
2011-11-29 19:39:01 -08:00 |
|
alisdair sullivan
|
e89443b362
|
is_json implemented
|
2011-11-23 21:52:14 -08:00 |
|
alisdair sullivan
|
7e88a14525
|
massive simplification of api, operation and internals. removes all demo modules temporarily
|
2011-08-31 18:52:01 -07:00 |
|
alisdair sullivan
|
affdd3cc62
|
minor fixups to spec/api
|
2011-08-19 20:13:49 -07:00 |
|
alisdair sullivan
|
6234e4a986
|
moves headers back to include dir so include_lib works. except jsx_format.hrl, because jsx_format needs a full rewrite
|
2011-08-16 22:45:32 -07:00 |
|
alisdair sullivan
|
3186223fd1
|
better guarding of opts parsing
|
2011-08-10 23:18:42 -07:00 |
|
alisdair sullivan
|
c56cf7c00b
|
remove jsx_verify.hrl, move opts record to main body
|
2011-08-10 22:57:53 -07:00 |
|
alisdair sullivan
|
0624321347
|
removes catch blocks from jsx_verify, allow errors to propogate
|
2011-08-10 22:48:55 -07:00 |
|
alisdair sullivan
|
d64644e01f
|
whitespace
|
2011-08-10 22:45:00 -07:00 |
|
alisdair sullivan
|
a2c7cf3977
|
new test for repeated nested keys
|
2011-08-10 21:59:27 -07:00 |
|
alisdair sullivan
|
bb80bf2b83
|
is_json rewritten to use new api
|
2011-08-10 21:55:58 -07:00 |
|
alisdair sullivan
|
0c3cf2b87b
|
encoder updated to use same api as decoder, format and verify updated to be aware of new api
|
2011-08-10 00:33:14 -07:00 |
|
alisdair sullivan
|
8bb0f66470
|
unless iterate option is specified, jsx now buffers events internally before returning
|
2011-08-09 17:49:42 -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
|
e7025efe50
|
is_json inputs now line up with format inputs
|
2011-07-17 20:55:54 -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
|
e4cbe15fa7
|
fixes broken build from premature push, oops
|
2011-05-04 01:00:29 -07:00 |
|
alisdair sullivan
|
b2d923cbcb
|
api change, parser/0,1 deprecated, replaced with decoder/0,1
|
2011-04-26 23:40:12 -07:00 |
|
alisdair sullivan
|
6cc28573b6
|
changes default for strict to false from true to better match other json encoders/decoders in the wild
|
2011-04-26 21:30:57 -07:00 |
|
alisdair sullivan
|
216a71895a
|
removes all edoc machinery
|
2011-03-22 19:02:28 -07:00 |
|
alisdair sullivan
|
a6e7490a2b
|
options are now proplist style, so [comments] implies [{comments, true}] et cetera
|
2011-03-07 14:02:51 -08:00 |
|
alisdair sullivan
|
1a20e911a9
|
was using three different methods to rewrite options to core parser options, switched to just one
|
2010-09-23 22:29:21 -07:00 |
|
alisdair sullivan
|
c1e58460e4
|
added probably superfluous test, for paranoia
|
2010-09-23 22:28:35 -07:00 |
|
alisdair sullivan
|
b73e506fe2
|
rewrote extraction of core parser options in various components in a consistent manner
|
2010-09-23 22:26:04 -07:00 |
|
alisdair sullivan
|
aa3385a31d
|
added type specs to all publically exported functions
|
2010-09-15 21:30:25 -07:00 |
|
alisdair sullivan
|
a86dec09ef
|
major whitespace updates to get line lengths down to < 80 characters whenever possible (a few tests ignore this). srx/jsx_test.erl was not touched because it's shortly to be replaced
|
2010-08-25 23:17:10 -07:00 |
|
alisdair sullivan
|
ac5e0e4fe3
|
removed author tag from modules
|
2010-08-25 21:40:16 -07:00 |
|
alisdair sullivan
|
203ec6e5e0
|
removed types and specs, since they are not supported in the default erlang's some linux distros supply
|
2010-08-25 21:28:13 -07:00 |
|
alisdair sullivan
|
d58fc57ab4
|
fixed eunit test macro definition
|
2010-08-23 19:59:23 -07:00 |
|
alisdair sullivan
|
6ff74e6d59
|
edoc documentation added
|
2010-08-19 23:30:22 -07:00 |
|
alisdair sullivan
|
c098b06e88
|
general cleanup of modules, moved most types, specs, defines and records to header files and did some minor reformatting to adhere to style guidelines
|
2010-08-19 18:22:34 -07:00 |
|
alisdair sullivan
|
422f5958a0
|
it'd be nice if jsx:is_json accounted for repeat keys in a correct manner, right?
|
2010-08-12 17:20:58 -07:00 |
|
alisdair sullivan
|
5da5b6d782
|
eunit tests for verify module
|
2010-08-07 18:09:07 -07:00 |
|
alisdair sullivan
|
3ea3eba7b3
|
first attempt at integrating json lib with jsx lib
|
2010-08-03 20:29:49 -07:00 |
|
alisdair sullivan
|
4c378791f9
|
first step moving json project into jsx tree, compiles, but not tested
|
2010-08-03 14:16:56 -07:00 |
|