Commit graph

31 commits

Author SHA1 Message Date
alisdair sullivan
1a9d1908f0 format/2 handles naked values 2011-10-25 20:08:46 -07:00
alisdair sullivan
7a56f72b7c formatter works, kind of. only minifies currently 2011-10-24 22:51:39 -07: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
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
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
1cc7c738ba fixes guard in jsx_format 2011-07-26 13:10:04 -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
b4eaf15dbe fixes broken tests in format and eep 2011-07-22 21:46:24 -07:00
alisdair sullivan
2cdb755d08 new test for new encoder/formatter 2011-07-17 20:55:54 -07:00
alisdair sullivan
04dfde559e format/1,2 takes a list of terms as an argument now, in addition to binary json or a jsx_iterator 2011-07-17 20:55:54 -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
428858ed8c changes two rogue throw to error 2011-04-26 20:07:40 -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
52511d24c1 formatter and verifier allow unquoted keys now too 2010-09-23 22:28:35 -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
00baba4dc7 renamed format opts record 2010-08-22 23:59:39 -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
843b3cdf24 more tests plus associated bug fixes, some tests still broken (in the sense they are not being run, not that they fail) 2010-08-10 21:56:29 -07:00
alisdair sullivan
36c322c4a6 added format tests 2010-08-10 13:07:16 -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