Commit graph

19 commits

Author SHA1 Message Date
alisdair sullivan
6a81f7885b adds tests for naked terms 2011-11-28 17:22:54 -08:00
alisdair sullivan
c9b590735e adds test for {labels, atom} option 2011-11-28 15:24:44 -08:00
alisdair sullivan
adc453b226 jsx_terms functional, could use more tests 2011-11-28 15:15:11 -08:00
alisdair sullivan
455b1ce85c basic to_term implementation, minor fixes to encoder 2011-11-24 06:33:15 -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
6c3aee2835 further testing of repeated key behavior 2011-08-18 06:32:50 -07:00
alisdair sullivan
e0a47225d8 Merge branch 'develop' 2011-08-17 19:34:21 -07:00
alisdair sullivan
68ff87748c repeated keys ignored by default in jsx:json_to_term/1,2. option to ensure 'last key wins' behaviour 2011-08-17 19:33:59 -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
6357eb74c1 return {incomplete, ...} rather than error on incomplete input to json_to_term 2011-08-12 06:37:07 -07:00
alisdair sullivan
7b0cf9c724 jsx_terms decoder now uses new api 2011-08-11 00:23:46 -07:00
alisdair sullivan
01a8154ac4 remove stream mode from jsx_terms and streamline options handling in jsx_terms to simplify migration to new api 2011-08-10 23:38:56 -07:00
alisdair sullivan
5db827f6ed whitespace 2011-08-10 22:46:50 -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
b3eb058463 revert change from strings/keys being presented as binaries to being presented as lists of characters. ~30% speedup 2011-07-31 19:05:30 -07:00
alisdair sullivan
03381567d2 whitespace 2011-07-31 00:05:34 -07:00
alisdair sullivan
f699bdeedc ensure last key 'wins' in the value decoder 2011-07-28 21:12:20 -07:00
alisdair sullivan
ed71ce7b7f string escape u+2028 and u+2029 for compatibility with jsonp 2011-07-26 13:32:38 -07:00
alisdair sullivan
647f021270 minor fixes take 2 2011-07-26 13:13:00 -07:00