Commit graph

40 commits

Author SHA1 Message Date
alisdair sullivan
08673b144e update comments about internal rep to match reality 2013-10-30 00:57:50 +00:00
alisdair sullivan
eb7527e9a3 whitespace 2013-10-30 00:52:44 +00:00
alisdair sullivan
5753baefaf convert jsx_to_json over to new internal interface 2013-10-30 00:34:45 +00:00
alisdair sullivan
f58ac5566e add whitespace formatting to rep manipulation functions 2013-10-30 00:21:17 +00:00
alisdair sullivan
7b9170b32d add `Config' arg to rep manipulation 2013-10-29 19:15:16 +00:00
alisdair sullivan
7296f790b2 convert all space/newlines in json formatter to emit binaries 2013-10-27 01:28:49 +00:00
alisdair sullivan
5409668cf4 abstracted internal state of `jsx_to_json'. uses same interface as
`jsx_to_term'
2013-10-26 14:45:36 +00:00
alisdair sullivan
625f912e7b generate test state from init/1' in jsx_to_term' and `jsx_to_json'
instead of doing it by hand
2013-10-25 01:39:59 +00:00
alisdair sullivan
3df6a1dab6 swap badarg' error for function_clause' error in jsx:format/x 2013-06-04 01:14:11 +00:00
alisdair sullivan
0441224998 update license dates 2013-03-10 20:30:24 -07:00
alisdair sullivan
89d3cbbd36 rename jsx_utils jsx_config 2013-03-06 01:37:08 -08:00
alisdair sullivan
9e01e3a704 reduce test cases to saner set 2013-02-13 19:13:50 -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
e6380bc3a3 break special decodeable forms out to own test data 2013-02-10 19:39:42 -08:00
alisdair sullivan
a584c74fbc add formatting tests to jsx_to_json 2013-02-09 15:50:52 -08:00
alisdair sullivan
d8cde35e45 add formatting tests to jsx_to_json 2013-02-05 00:07:15 -08:00
alisdair sullivan
822a668f8e remove integration tests and add unit tests to jsx_to_json.erl 2013-02-05 00:07:15 -08:00
alisdair sullivan
2395d6cb72 replace handrolled binary copy with call to binary:copy 2013-02-04 23:30:28 -08:00
alisdair sullivan
5efec8af8e reject invalid opts flags more strictly 2013-02-04 23:08:44 -08:00
alisdair sullivan
6ff94d8e5f strip trailing whitespace 2012-11-21 23:04:14 -08:00
alisdair sullivan
3bc2c68ea3 fix the tenses and forms of option flags 2012-03-31 21:58:18 -07:00
alisdair sullivan
fa173e2d11 json escape to_json and format by default 2012-03-31 17:45:23 -07:00
alisdair sullivan
a6aa97fff6 remove unesscessary lists:flatten call 2012-03-31 12:34:29 -07:00
alisdair sullivan
9763ff189f use io_lib:format for float formatting 2012-03-31 12:33:19 -07:00
alisdair sullivan
cd1a6deaaa fix format/x and to_json/x bug involving string escapes 2012-03-29 22:13:01 -07:00
alisdair sullivan
6f6a660177 fix escaping problems in format/x 2012-03-29 21:43:55 -07:00
alisdair sullivan
5bc8bfdf45 encoder now only performs a single pass on strings and can optionally json encode them 2012-03-24 19:42:00 -07:00
alisdair sullivan
d2950ab8c7 remove all ?_assert and replace with ?_assertFoo's 2012-03-21 05:36:39 -07:00
alisdair sullivan
c50f42a70c use meck for testing 2012-03-06 00:20:34 -08:00
alisdair sullivan
d654a0e882 lift init methods into decoder/encoder 2012-03-05 19:53:55 -08:00
alisdair sullivan
baf31783db tests for to_json 2012-03-05 19:38:17 -08:00
alisdair sullivan
ec295a888b new is_term function that mirrors is_json for erlang terms 2012-03-04 18:40:00 -08:00
alisdair sullivan
620e6c7d91 factor out float formatting into nicedecimal, include as dep 2012-03-04 17:01:04 -08:00
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
245640743d moves escaping of strings from encoder to formatter 2011-12-01 22:49:20 -08:00
alisdair sullivan
726838cfff removes overly restrictive guards 2011-11-29 21:11: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
1fad948aec changes name of jsx_format to jsx_to_json and jsx_terms to jsx_to_term 2011-11-28 17:30:55 -08:00
Renamed from src/jsx_format.erl (Browse further)