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
|
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
|
77794238f3
|
bump version to 1.0rc and updates README
|
2012-01-31 21:43:08 -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
|
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
|
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
|
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
|
03e50ac0cc
|
removes loose_unicode opt from erlang -> json conversion
|
2011-11-30 19:08:38 -08:00 |
|
alisdair sullivan
|
3857980f6c
|
remove incomplete returns from json_to_term/1,2 and format/1,2
|
2011-11-30 06:36:06 -08:00 |
|
alisdair sullivan
|
726838cfff
|
removes overly restrictive guards
|
2011-11-29 21:11:17 -08:00 |
|
alisdair sullivan
|
0035cd67a7
|
loose_unicode now applies to string escaping performed on binaries converted TO json as well as from
|
2011-11-29 21:04:24 -08:00 |
|
alisdair sullivan
|
d7c1ef9b4d
|
remove string escaping functions, unused
|
2011-11-29 20:32:47 -08:00 |
|
alisdair sullivan
|
cf722ed8d9
|
restores old api
|
2011-11-29 19:56:00 -08:00 |
|
alisdair sullivan
|
9a968548c8
|
new encoder
|
2011-11-29 19:39:14 -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
|
55d0259c89
|
remove dead code
|
2011-11-29 19:37:37 -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 |
|
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
|
e89443b362
|
is_json implemented
|
2011-11-23 21:52:14 -08:00 |
|
alisdair sullivan
|
14277e4972
|
reworked interface and internals, encoder broken but needs wholesale changes to match new interface
|
2011-11-23 20:54:10 -08:00 |
|
alisdair sullivan
|
738c6667f1
|
building strings internally as lists of codepoints and then converting to binaries is faster than building binaries directly or stripping strings from binaries with binary:copy
|
2011-11-02 01:11:58 -07:00 |
|
alisdair sullivan
|
0ea61233c5
|
strings returned as binaries
|
2011-10-28 06:31:40 -07:00 |
|
alisdair sullivan
|
d5a91c0a06
|
new tests for edge cases, fixed bug in passing external option parsing
|
2011-10-27 06:35:48 -07:00 |
|
alisdair sullivan
|
c4b5e7010c
|
format/1,2 correctly handles 'indent' opt
|
2011-10-26 12:39:28 -07:00 |
|
alisdair sullivan
|
b823877608
|
format/1,2 correctly handles 'space' opt
|
2011-10-26 06:33:53 -07:00 |
|
alisdair sullivan
|
30e6745f53
|
decoder returns values in favor of incomplete when possible, use opt 'explicit_end' to revert to prior behaviour
|
2011-10-25 20:52:39 -07:00 |
|
alisdair sullivan
|
6f2c137a2e
|
add jsx_format.erl to app file
|
2011-10-25 20:09:01 -07:00 |
|
alisdair sullivan
|
1a9d1908f0
|
format/2 handles naked values
|
2011-10-25 20:08:46 -07:00 |
|
alisdair sullivan
|
7a56f72b7c
|
formatter works, kind of. only minifies currently
|
2011-10-24 22:51:39 -07:00 |
|
alisdair sullivan
|
200fb231a9
|
fresh api. virtually whole new thing, entirely new interface and heavily modified encoder/decoder
|
2011-10-21 18:16:16 -07:00 |
|
alisdair sullivan
|
9c5710b97c
|
reorg of opts parsing, some minor source cleanups
|
2011-10-19 06:51:36 -07:00 |
|
alisdair sullivan
|
59a983bbe9
|
remove license replication from include files, move json_escape/2 to jsx_utils
|
2011-09-14 06:44:52 -07:00 |
|
alisdair sullivan
|
9e8361e10a
|
incremental test, fixed revealed bug in incomlete implementation
|
2011-08-31 19:35:09 -07: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
|
7fbb29369b
|
utf8 is the default encoding for decoder, no need to explicitly define it
|
2011-08-25 06:39:33 -07:00 |
|
alisdair sullivan
|
affdd3cc62
|
minor fixups to spec/api
|
2011-08-19 20:13:49 -07:00 |
|
alisdair sullivan
|
6c3aee2835
|
further testing of repeated key behavior
|
2011-08-18 06:32:50 -07:00 |
|