alisdair sullivan
00469ba9c6
change `get_key/1' functions to return bare value or throw error
...
add `start_term' and `start_json' functions
2014-01-12 20:36:19 +00:00
alisdair sullivan
3bb65e9bab
Merge branch 'develop' into vtwopointoh
2013-12-17 02:03:21 +00:00
alisdair sullivan
70aebfc6ad
add get_key/1' to
jsx_to_json' and `jsx_to_term'
2013-10-31 02:47:45 +00:00
alisdair sullivan
08673b144e
update comments about internal rep to match reality
2013-10-30 00:57:50 +00:00
alisdair sullivan
3f7f0f1f9c
introduce Config' object to internal rep in
jsx_to_json' to match
...
`jsx_to_term'
2013-10-30 00:52:24 +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
62914f422a
abstracted internal state of the `jsx_to_term' handler
2013-10-24 05:01:20 +00:00
alisdair sullivan
0238916472
remove post_decode support
2013-10-19 19:35:01 -07:00
Ola Backstrom
2943116c08
Added typespecs on all exported functions
...
Made sure all exported types do have a typespec is useful in build scenarios
where the erlang compile options
[warnings_as_errors, warn_missing_spec]
are used.
A few type errors found by Dialyzer are corrected too.
modified: src/jsx.erl
modified: src/jsx_config.erl
modified: src/jsx_config.hrl
modified: src/jsx_decoder.erl
modified: src/jsx_parser.erl
modified: src/jsx_to_json.erl
modified: src/jsx_to_term.erl
modified: src/jsx_verify.erl
2013-09-19 17:04:38 +02:00
alisdair sullivan
fe2bd15184
rename 'sloppy_existing_atom' to 'attempt_atom'
2013-07-05 03:11:01 +00:00
John Daily
1da0c567ba
Add sloppy_existing_atom as a configuration option for labels
2013-07-03 21:51:26 -04: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
81f0321e32
add tests for stricter parsing of opts
2013-02-05 00:07:15 -08:00
alisdair sullivan
231a55c7e1
add unit tests for jsx_to_term, remove integration tests
2013-02-05 00:07:15 -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
79b8740da8
post_decode working
2012-04-06 09:05:08 -07:00
alisdair sullivan
d9bb9ee9ac
machinery for post_decode (still does nothing)
2012-04-06 08:51:50 -07:00
alisdair sullivan
bd6202e618
v1.1
2012-03-27 16:49:25 -07:00
alisdair sullivan
b57750fcfc
fix specs for to_term/x, thanks to michael truog
2012-03-25 13:18:26 -07:00
alisdair sullivan
91dcb65e3c
Merge https://github.com/okeuday/jsx into develop
2012-03-25 13:14:08 -07:00
alisdair sullivan
cff2ffa295
better specs for to_term/x, thanks to michael truog
2012-03-25 13:09:55 -07:00
Michael Truog
d560d7ff3a
Fix -spec declaration to prevent dialyzer problems.
2012-03-25 00:26:12 -07:00
alisdair sullivan
d2950ab8c7
remove all ?_assert and replace with ?_assertFoo's
2012-03-21 05:36:39 -07:00
alisdair sullivan
d654a0e882
lift init methods into decoder/encoder
2012-03-05 19:53:55 -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
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
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