alisdair sullivan
|
d9e0611a52
|
remove stray tabs
|
2013-02-09 09:44:45 -08:00 |
|
alisdair sullivan
|
b711bc9ef9
|
factor out clean_string to jsx_utils
|
2013-02-05 00:03:58 -08:00 |
|
alisdair sullivan
|
6ff94d8e5f
|
strip trailing whitespace
|
2012-11-21 23:04:14 -08:00 |
|
alisdair sullivan
|
6bf3ff67e8
|
fix ordering problem for pre_encode
|
2012-09-03 21:27:00 -07:00 |
|
alisdair sullivan
|
4620081f6e
|
fix for issue 19, incorrect handling of proplists when using pre_encode
|
2012-09-03 21:13:14 -07:00 |
|
alisdair sullivan
|
eb8ba481b5
|
whitespace
|
2012-06-08 21:44:39 -07:00 |
|
alisdair sullivan
|
7fb5b6ea7c
|
allow pre_encode to handle tuples
|
2012-06-08 21:40:19 -07:00 |
|
alisdair sullivan
|
d081bd2539
|
change all stray badjson to badarg
|
2012-05-24 23:07:03 -07:00 |
|
alisdair sullivan
|
c15623a767
|
remove unused variables
|
2012-05-23 22:30:02 -07:00 |
|
alisdair sullivan
|
608f2437cf
|
change behaviour of dirty_strings option, dont attempt to escape or ensure clean at all
|
2012-05-23 01:07:54 -07:00 |
|
alisdair sullivan
|
76723ce736
|
semantic change to way pre_encode works
|
2012-04-06 08:09:52 -07:00 |
|
alisdair sullivan
|
ae13b934c6
|
add {pre_encoder, F} variant of {pre_encoders, [F, G,...]}
|
2012-04-04 20:13:27 -07:00 |
|
alisdair sullivan
|
89292c940d
|
pre_encoders for preprocessing input to encoder
|
2012-04-04 20:04:17 -07:00 |
|
alisdair sullivan
|
3bc2c68ea3
|
fix the tenses and forms of option flags
|
2012-03-31 21:58:18 -07:00 |
|
alisdair sullivan
|
95feb74d1b
|
correct operation of ignore_bad_escapes
|
2012-03-31 20:51:47 -07:00 |
|
alisdair sullivan
|
068af5621a
|
add tests for ignore_bad_escapes
|
2012-03-31 20:38:51 -07:00 |
|
alisdair sullivan
|
ab49c3379b
|
style and whitespace
|
2012-03-31 17:45:23 -07:00 |
|
alisdair sullivan
|
0e4e04ee36
|
couple new tests for better test coverage in jsx_encoder
|
2012-03-31 17:45:23 -07:00 |
|
alisdair sullivan
|
cb6c676775
|
add test for dirty_strings
|
2012-03-31 17:45:23 -07:00 |
|
alisdair sullivan
|
7c810cb05d
|
inline json escaping into encoder
|
2012-03-31 17:44:20 -07:00 |
|
alisdair sullivan
|
ad3e870615
|
more fixes for json_escape
|
2012-03-30 23:17:05 -07:00 |
|
alisdair sullivan
|
6f6a660177
|
fix escaping problems in format/x
|
2012-03-29 21:43:55 -07:00 |
|
alisdair sullivan
|
63535b27d7
|
check more extended codepoints
|
2012-03-29 06:25:49 -07:00 |
|
alisdair sullivan
|
9d2448669e
|
whitespace
|
2012-03-28 23:46:18 -07:00 |
|
alisdair sullivan
|
dc6a026e94
|
add tests for bad utf sequences, fix failures
|
2012-03-28 23:31:07 -07:00 |
|
alisdair sullivan
|
2d2dd5f7c1
|
faster implementation of string cleaning
|
2012-03-28 21:51:21 -07:00 |
|
alisdair sullivan
|
7e243bafd1
|
remove tests for malformed 5 and 6 byte sequences
|
2012-03-28 21:23:35 -07:00 |
|
alisdair sullivan
|
edbe4d16ab
|
fix clean string for bad utf8
|
2012-03-28 20:17:58 -07:00 |
|
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 |
|