Commit graph

709 commits

Author SHA1 Message Date
alisdair sullivan
a065730380 the option single_quotes in functions dealing with json inputs now allows json that uses single quotes to deliminate keys and strings to be processed, note that this changes the escaping rules slightly 2012-03-15 21:23:51 -07:00
alisdair sullivan
35cfd552d1 1.0 release 2012-03-15 21:22:08 -07:00
alisdair sullivan
59689769de supress unused var errors 2012-03-15 20:54:52 -07:00
alisdair sullivan
c6827d06de the option single_quotes in functions dealing with json inputs now allows json that uses single quotes to deliminate keys and strings to be processed, note that this changes the escaping rules slightly 2012-03-14 23:55:40 -07:00
alisdair sullivan
50b00bac0f the option single_quotes in functions dealing with json inputs now allows json that uses single quotes to deliminate keys and strings to be processed, note that this changes the escaping rules slightly 2012-03-14 23:01:59 -07:00
alisdair sullivan
c4b468f20a add meck to deps for travis-ci 2012-03-14 12:04:42 -07:00
alisdair sullivan
6a86513b84 Modify source layout to be more standard, moving test cases to ./priv/test_cases
Remove rebar in favour of using system rebar

Remove makefile
2012-03-14 11:42:35 -07:00
alisdair sullivan
338f79ec9a move test cases to priv/, retrieve location with code:lib_dir/2 2012-03-14 06:36:36 -07:00
alisdair sullivan
62aef415e1 documentation update 2012-03-07 21:34:51 -08:00
alisdair sullivan
bd5084e60d minor cleanup of source tree in prep for release 2012-03-07 21:15:02 -08:00
alisdair sullivan
ce98e1d884 add travis-ci build status indicator 2012-03-06 21:47:46 -08:00
alisdair sullivan
35e43fd50f add recursive=true to get-deps makefile target so when i c/p it later i won't have to modify it for projects with deep deps 2012-03-06 20:31:26 -08:00
alisdair sullivan
b16c8a18bb add nicedecimal to jsx.app dependencies 2012-03-06 20:24:12 -08:00
alisdair sullivan
56dcfc13b9 update rebar to latest and trim makefile 2012-03-06 20:21:00 -08:00
alisdair sullivan
5155c96ac7 make tests runnable from basic rebar.config for users who have meck on path already 2012-03-06 19:59:49 -08:00
alisdair sullivan
b5c2e3757b attempt #2 at travis-ci integration 2012-03-06 12:14:30 -08:00
alisdair sullivan
461851a070 update README to reflect new build/test instructions 2012-03-06 00:28:59 -08:00
alisdair sullivan
c50f42a70c use meck for testing 2012-03-06 00:20:34 -08:00
alisdair sullivan
ff59289098 remove travis integration, not smart enough for it 2012-03-05 23:21:29 -08:00
alisdair sullivan
1fc05011db travis-ci integration 2012-03-05 23:09:45 -08:00
alisdair sullivan
b10262d720 whitespace 2012-03-05 20:37:22 -08:00
alisdair sullivan
01637106c1 more tests, up to 90% code coverage 2012-03-05 20:15:01 -08:00
alisdair sullivan
d654a0e882 lift init methods into decoder/encoder 2012-03-05 19:53:55 -08:00
alisdair sullivan
90520b9c0c clarification in json -> erlang mapping section of README 2012-03-05 19:44:01 -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
3cbabec80e markdown and erlang typespecs don't always get along 2012-03-02 23:01:28 -08:00
alisdair sullivan
b836b060b1 fix funky tabs in jsx.app.src 2012-03-02 22:59:51 -08:00
alisdair sullivan
63faf04115 factor out gen_json 2012-03-02 22:53:45 -08:00
alisdair sullivan
61ef73ff72 additional info on gen_json in README 2012-01-31 21:45:05 -08:00
alisdair sullivan
77794238f3 bump version to 1.0rc and updates README 2012-01-31 21:43:08 -08:00
alisdair sullivan
9e15ce558d bump version to 1.0rc and updates README 2012-01-31 21:27:45 -08:00
alisdair sullivan
e15a0e9a81 fully integrate gen_json.erl 2012-01-31 20:56:08 -08:00
alisdair sullivan
9aaa23735a unofficially deprecate json_to_term and term_to_json 2012-01-31 20:44:35 -08:00
alisdair sullivan
443a2cbe7f doc updates 2012-01-24 23:44:46 -08:00
alisdair sullivan
093baaf515 add documentation for is_json 2011-12-14 21:32:17 -08:00
alisdair sullivan
ffa2aa6ce9 add note about streaming mode to README, allow incomplete returns from json_to_term and format 2011-12-14 21:07:50 -08:00
alisdair sullivan
e145220d92 move handling of anonymous handlers to gen_json 2011-12-14 20:57:17 -08:00
alisdair sullivan
29175a7845 update rebar to latest 2011-12-14 20:11:20 -08:00
alisdair sullivan
5545be32ba adds new utility function enable handling of anon functions in various handlers 2011-12-04 23:41:00 -08:00
alisdair sullivan
245640743d moves escaping of strings from encoder to formatter 2011-12-01 22:49:20 -08:00
alisdair sullivan
cef8ccd5c2 documents current behaviour of {labels, ...} option, should not be regarded as a stable api 2011-12-01 22:25:49 -08:00
alisdair sullivan
fb1b21c67c allows atoms in terms passed to encoder 2011-12-01 22:12:50 -08:00
alisdair sullivan
6dfaa61bfa allow interchange of nullbyte in strings 2011-12-01 06:32:56 -08:00
alisdair sullivan
1cfd565458 removes obsolete comment in decoder 2011-12-01 06:24:34 -08:00
alisdair sullivan
51732e5357 more adjustments for github parsing 2011-11-30 22:27:26 -08:00
alisdair sullivan
50270f2cea minor typographical fixes to README 2011-11-30 21:38:37 -08:00
alisdair sullivan
623b94bfc3 README edits 2011-11-30 20:08:32 -08:00