alisdair sullivan
|
84f4b7fb40
|
assume all datetimes are UTC time and add timezone designator to
generated iso8601 strings
|
2015-03-03 10:43:04 -08:00 |
|
alisdair sullivan
|
56c3bdb578
|
reorder parser clauses and simplify escaping for performance
|
2014-12-07 08:15:56 +00:00 |
|
alisdair sullivan
|
9528216d15
|
allow unicode noncharacters and reserved space characters in json
strings
fixes #67
|
2014-12-01 19:43:07 +00:00 |
|
alisdair sullivan
|
4ad9c38cb9
|
prevent json objects with repeated keys from being emitted from the
parser
|
2014-06-15 22:12:07 +00:00 |
|
alisdair sullivan
|
649329c362
|
minor refactoring of feature detection
|
2014-04-21 23:44:41 +00:00 |
|
alisdair sullivan
|
a46118ecb3
|
refactor out copy/pasted encode methods
|
2014-04-18 23:43:40 +00:00 |
|
alisdair sullivan
|
3bb65e9bab
|
Merge branch 'develop' into vtwopointoh
|
2013-12-17 02:03:21 +00:00 |
|
alisdair sullivan
|
bad524fc70
|
Merge pull request #44 from flussonic/develop
handle jsx:encode([{key,value}])
|
2013-12-12 11:21:20 -08:00 |
|
eskuat
|
71646247f9
|
Use of list_to_binary/integer_to_list for compat with earlier Erlang versions
|
2013-12-08 02:36:01 +07:00 |
|
eskuat
|
123965166a
|
Allow integer object keys when converting term to json
i.e. automatic conversion from integer to binary.
|
2013-12-08 00:18:29 +07:00 |
|
Max Lapshin
|
216b97df55
|
handle jsx:encode([{key,value}])
|
2013-11-28 00:20:59 +04:00 |
|
Michael Truog
|
30b136ce72
|
Fix dialyzer errors.
|
2013-11-22 19:22:01 -08:00 |
|
alisdair sullivan
|
5fcd4644bf
|
make sure `jsx_encoder:encode/2' dispatches recursive calls correctly
|
2013-11-13 02:29:44 +00:00 |
|
alisdair sullivan
|
486fda2a74
|
refactor test suite for additional completeness and clarity
|
2013-10-20 21:06:51 +00:00 |
|
alisdair sullivan
|
f340e8dc22
|
refactor options to complete mission: more pragmatism
|
2013-10-20 03:28:22 +00:00 |
|
alisdair sullivan
|
f137ff484b
|
fix bad utf8 encodings by default (convert to u+FFFD)
this (temporarily, i hope) removes the fast path for handling
strings internally without escaping or replacing bad utf8
|
2013-10-20 03:16:56 +00:00 |
|
alisdair sullivan
|
2d385c3342
|
delegate almost all responsibility of encoder to parser to simplify
internals
|
2013-10-20 03:07:42 +00:00 |
|
alisdair sullivan
|
07d84e25d0
|
remove pre_encode support
|
2013-10-19 19:35:01 -07:00 |
|
alisdair sullivan
|
8487a2afc0
|
add proper error state to encoder object parsing
fixes #36
|
2013-06-24 11:32:03 -06:00 |
|
alisdair sullivan
|
c84fe9345f
|
remove superfluous clause in encoder
|
2013-04-10 21:01:20 -07: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
|
c4405e45a8
|
move clean_string to an include file and inline it in parser and encoder, move tests to jsx_test.hrl
|
2013-03-06 01:28:39 -08:00 |
|
alisdair sullivan
|
267977bf6e
|
replace <<16#ffff/utf8>> with <<239, 191, 191>> to allow certain tests to run on R14x
|
2013-03-05 16:36:49 -08:00 |
|
alisdair sullivan
|
df04f091f7
|
change returned config from record to list in error and incomplete handler
|
2013-03-04 23:48:34 -08:00 |
|
alisdair sullivan
|
d796dffa05
|
trap and process string encoding errors properly
|
2013-03-04 21:51:43 -08:00 |
|
alisdair sullivan
|
da9bf969e2
|
extend error_handler to encoding
|
2013-03-04 21:21:45 -08:00 |
|
alisdair sullivan
|
2e5bb4fd3b
|
merge new_tests branch
|
2013-02-24 03:07:57 -08:00 |
|
alisdair sullivan
|
35020643e7
|
revert encoder to prior version
|
2013-02-24 02:57:35 -08:00 |
|
alisdair sullivan
|
ef566d8cd3
|
remove cases from clean_string
|
2013-02-24 02:42:29 -08:00 |
|
alisdair sullivan
|
ceb7ce6586
|
shiny and new string cleaning for encoder and parser
|
2013-02-19 22:51:54 -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
|
eaf19cde9c
|
extend tests to decoder, encoder and parser
|
2013-02-11 18:22:45 -08:00 |
|
alisdair sullivan
|
d9e0611a52
|
remove stray tabs
|
2013-02-09 09:44:45 -08:00 |
|
alisdair sullivan
|
50133ffefd
|
remove various tests from encoder and parser
|
2013-02-05 21:07:38 -08:00 |
|
alisdair sullivan
|
a325d266bc
|
whitespace
|
2013-02-05 16:54:59 -08:00 |
|
alisdair sullivan
|
1bf196b9e3
|
move all encoder escape tests to jsx_utils
|
2013-02-05 16:52:28 -08:00 |
|
alisdair sullivan
|
c99cbd9d12
|
move all tests relating to cleaning of binary strings to jsx_utils
|
2013-02-05 16:40:15 -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 |
|