Commit graph

27 commits

Author SHA1 Message Date
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)