alisdair sullivan
|
addb1e172d
|
fix for failing tests on R14BXX
|
2012-03-27 16:56:12 -07:00 |
|
alisdair sullivan
|
04ea83266e
|
slightly more efficient encoding of strings
|
2012-03-26 18:52:32 -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
|
978e75887a
|
corrected handling of malformed utf8 sequences
|
2012-03-21 05:38:08 -07:00 |
|
alisdair sullivan
|
89fcdac86a
|
whitelist allowed codepoints rather than blacklist disallowed codepoints in jsx_encoder
|
2012-03-21 05:38:07 -07:00 |
|
alisdair sullivan
|
7aab732346
|
remove export_all flag
|
2012-03-21 05:38:07 -07:00 |
|
alisdair sullivan
|
3a2b48db18
|
ok, now it's fixed for older releases
|
2012-03-21 05:38:07 -07:00 |
|
alisdair sullivan
|
7d99e64d31
|
finally found actual cause of otp r14x bug
|
2012-03-21 05:38:07 -07:00 |
|
alisdair sullivan
|
ad8f640aac
|
remove rogue function head
|
2012-03-21 05:38:07 -07:00 |
|
alisdair sullivan
|
f991f7c42e
|
fix for older erts that don't allow noncharacters
|
2012-03-21 05:38:07 -07:00 |
|
alisdair sullivan
|
7b2c34ccd2
|
fix for older erts versions where the private space reserved characters are not recognized
|
2012-03-21 05:38:07 -07:00 |
|
alisdair sullivan
|
11d2d0bae1
|
minor fixes for illegal utf8 sequences and better testing thereof
|
2012-03-21 05:37:33 -07:00 |
|
alisdair sullivan
|
036dd72ecf
|
minor fixes for illegal utf8 sequences and better testing thereof
|
2012-03-21 05:37:33 -07:00 |
|
alisdair sullivan
|
0c04e485a3
|
fixes wrongheaded and stupid escaping of strings
|
2012-03-21 05:36:39 -07:00 |
|
alisdair sullivan
|
d2950ab8c7
|
remove all ?_assert and replace with ?_assertFoo's
|
2012-03-21 05:36:39 -07:00 |
|
alisdair sullivan
|
8dafdb32b3
|
escape strings and keys in the encoder
|
2012-03-21 05:36:38 -07: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
|
d654a0e882
|
lift init methods into decoder/encoder
|
2012-03-05 19:53:55 -08:00 |
|
alisdair sullivan
|
e15a0e9a81
|
fully integrate gen_json.erl
|
2012-01-31 20:56:08 -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
|
9a968548c8
|
new encoder
|
2011-11-29 19:39:14 -08:00 |
|
alisdair sullivan
|
455b1ce85c
|
basic to_term implementation, minor fixes to encoder
|
2011-11-24 06:33:15 -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
|
0ea61233c5
|
strings returned as binaries
|
2011-10-28 06:31:40 -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
|
7e88a14525
|
massive simplification of api, operation and internals. removes all demo modules temporarily
|
2011-08-31 18:52:01 -07:00 |
|
alisdair sullivan
|
6234e4a986
|
moves headers back to include dir so include_lib works. except jsx_format.hrl, because jsx_format needs a full rewrite
|
2011-08-16 22:45:32 -07:00 |
|
alisdair sullivan
|
5cf8173bd5
|
tests for jsx_encoder string escapes
|
2011-08-15 19:35:56 -07:00 |
|
alisdair sullivan
|
d33474d29d
|
unifies returns of encoder and decoder
|
2011-08-15 17:26:11 -07:00 |
|
alisdair sullivan
|
588c836547
|
minor change to guards on the fun returned when incomplete input detected
|
2011-08-12 06:36:13 -07:00 |
|
alisdair sullivan
|
4a078bd44a
|
move opts handling to jsx.erl for earlier failure on badopts
|
2011-08-10 01:28:25 -07:00 |
|
alisdair sullivan
|
aca326b42e
|
multi_term mode removed until sane interface can be developed
|
2011-08-10 00:35:51 -07:00 |
|
alisdair sullivan
|
0c3cf2b87b
|
encoder updated to use same api as decoder, format and verify updated to be aware of new api
|
2011-08-10 00:33:14 -07:00 |
|
alisdair sullivan
|
03381567d2
|
whitespace
|
2011-07-31 00:05:34 -07:00 |
|
alisdair sullivan
|
5f3885c594
|
escape_forward_slash option to allow optional escaping of forward slashes during encoding. for compatibility with microsoft json date format
|
2011-07-29 00:18:33 -07:00 |
|
alisdair sullivan
|
5d1e18d0ea
|
add test for u+2028/2029 escaping
|
2011-07-27 02:01:09 -07:00 |
|
alisdair sullivan
|
ed71ce7b7f
|
string escape u+2028 and u+2029 for compatibility with jsonp
|
2011-07-26 13:32:38 -07:00 |
|
alisdair sullivan
|
68d78c8e25
|
new api: strings and keys returned as binaries, integers as integers, floats as floats, tuple format changed from {event, ..., ...} to {jsx, ..., ...}, tests updated
|
2011-07-26 00:35:17 -07:00 |
|
alisdair sullivan
|
5060f86921
|
encoder string escaping
|
2011-07-22 21:34:19 -07:00 |
|
alisdair sullivan
|
1a59448849
|
encoder actually uses multi_term option, encoding and escaped_unicode still useless
|
2011-07-22 21:18:22 -07:00 |
|
alisdair sullivan
|
3bf5506292
|
unifies options to encoder/decoder to allow abstraction over various different built in iterators
|
2011-07-21 06:14:48 -07:00 |
|
alisdair sullivan
|
c743debc6d
|
better tests for encoder, still needs more cases tho
|
2011-07-20 07:14:59 -07:00 |
|
alisdair sullivan
|
fd3c6af50b
|
new encoder now handles incomplete input
|
2011-07-17 20:55:54 -07:00 |
|
alisdair sullivan
|
cc10a736cd
|
some basic tests for encoder
|
2011-07-17 20:55:54 -07:00 |
|
alisdair sullivan
|
330a1916b8
|
unified eep0018 encoder and decoders into single module
|
2010-08-06 17:58:10 -07:00 |
|
alisdair sullivan
|
ab7f1c8353
|
fixed an embarassing bug, X band 1 == 1 does not test whether X is even
|
2010-08-05 21:01:23 -07:00 |
|
alisdair sullivan
|
c0aca66a75
|
encoder now escapes strings properly, tests still needed
|
2010-08-04 22:00:36 -07:00 |
|