Commit graph

717 commits

Author SHA1 Message Date
Guilherme Andrade
5e0df7b77d Match jsx:json_term() / jsx_to_term:json_value() specs for empty object. 2015-10-13 14:30:34 +01:00
alisdair sullivan
50eff667a1 v2.8.0 2015-10-08 23:03:26 -07:00
alisdair sullivan
8e75e0f312 add files section to jsx.app.src for hex 2015-10-08 22:21:39 -07:00
alisdair sullivan
7090494686 v2.7.2 2015-09-17 15:27:21 -05:00
alisdair sullivan
522f72b2ce mask a function_clause' error in encoder with a badarg' error for api unity 2015-09-17 15:25:03 -05:00
alisdair sullivan
d6f687831e fix overly permissive parser that allowed some encodings that should
have been failure states
2015-09-16 15:40:34 -07:00
alisdair sullivan
99c81f88b9 v2.7.1 2015-08-20 09:22:23 -07:00
vt
25a592de84 accept datetime with msec 2015-08-08 18:15:02 +03:00
alisdair sullivan
f6d6bc25a0 update to v2.7.0 2015-08-04 11:00:24 -07:00
alisdair sullivan
f46442c480 Merge branch 'master' of https://github.com/ledest/jsx into ledest 2015-08-04 10:27:57 -07:00
Michael Uvarov
82815646e6 Add return_tail option 2015-08-04 16:05:50 +02:00
Led
446f674f27 add rebar.config.script for checking support maps and binary_to_{integer,float}/1 2015-08-03 00:50:22 +03:00
Led
fef001479f fix build docs 2015-08-03 00:49:52 +03:00
alisdair sullivan
46f246dc3a Merge branch 'develop' 2015-06-11 19:56:40 -07:00
alisdair sullivan
58b9887780 v2.6.1 2015-05-12 15:17:05 -07:00
alisdair sullivan
d98df17dd7 v2.6.0 2015-04-20 20:04:21 -07:00
alisdair sullivan
2008e989c8 v2.6.0 2015-04-20 19:56:13 -07:00
alisdair sullivan
cb3b25e1e5 v2.5.3 2015-04-20 16:24:30 -07:00
alisdair sullivan
327f0d2875 v2.5.2 2015-03-15 12:06:10 -07:00
Bikram Chatterjee
bb422c988f fixed -0e0 decoding crash with test 2015-03-15 12:06:10 -07:00
alisdair sullivan
9706401c0e v2.5.1 2015-03-03 10:45:23 -08:00
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
0babda82d3 v2.5.0 2015-02-25 20:40:17 -08:00
alisdair sullivan
dfd75d5ef0 fix config test that failed due to reordered config flags 2015-01-25 21:51:26 -08:00
alisdair sullivan
65a9539851 Merge remote-tracking branch 'github/develop' into develop 2015-01-25 21:45:57 -08:00
alisdair sullivan
72c92bae0d add experimental consult/1,2 function that consults a file
containing zero or more json terms and returns them in a list
2015-01-25 21:44:15 -08:00
Srijan Choudhary
3165dd9c54 Json value can be proplist even if maps are supported 2015-01-03 18:59:08 +05:30
alisdair sullivan
d4d838d4f4 always return maps if the macro maps_always is defined 2014-12-18 15:58:19 -08:00
alisdair sullivan
8592742ded rework decoder and encoder slightly to be a little more sane 2014-12-11 06:57:49 +00:00
alisdair sullivan
3625aaeb66 remove vestigial flatify function 2014-12-09 18:37:29 -08:00
alisdair sullivan
8f62b3adf1 v2.4.0 2014-12-09 16:24:09 -08:00
alisdair sullivan
a9a2c2ebe6 revert a jsx_to_term optimizatin that micro benchmarked well but didn't macro
benchmark well
2014-12-09 22:16:55 +00:00
alisdair sullivan
e2ba87f1cb switch to a counting implementation of number parsing a la strings 2014-12-09 02:20:01 -08:00
alisdair sullivan
e5e04db58e produce binaries in escaped strings in decoder/parser instead of lists 2014-12-09 02:19:13 -08:00
alisdair sullivan
5843dbc56a actually i can use flatten in jsx_to_term! sweet 2014-12-09 08:06:12 +00:00
alisdair sullivan
1033245da3 binary_to_whatever is not available on R15? fixed 2014-12-09 05:12:33 +00:00
alisdair sullivan
261574ee03 less list allocation in jsx_to_term 2014-12-09 01:47:40 +00:00
alisdair sullivan
c39515bd60 early exit from value when encountering literals and less list allocation
for number parsing
2014-12-09 01:46:57 +00:00
alisdair sullivan
34771087ff switch to iodata accumulation for number parsing 2014-12-08 04:05:03 +00:00
alisdair sullivan
4b3fa9b903 further unrolling of string parsing states and elimination of when
guards
2014-12-07 19:12:43 -08:00
alisdair sullivan
8e2d7a0253 decoder clause reordering and unrolling to reduce when clauses 2014-12-07 16:31:29 -08:00
alisdair sullivan
edf8181d6e Merge tag 'v2.3.1' into develop
Conflicts:
	README.md
2014-12-07 15:47:34 -08:00
alisdair sullivan
5317596ebe v2.3.1 2014-12-07 15:38:59 -08:00
alisdair sullivan
c96d83b488 certain astral plane json escape sequences were inadvertently being
replaced with the replacement character
2014-12-07 15:37:34 -08:00
alisdair sullivan
a9982687c6 certain astral plane json escape sequences were inadvertently being
replaced with the replacement character
2014-12-07 15:30:37 -08:00
alisdair sullivan
8a4f92d8e6 skip redundant check for uescape escaping 2014-12-07 14:27:39 -08:00
alisdair sullivan
43ba093ec5 build maps immediately when returning maps instead of building a
proplist and converting
2014-12-07 22:04:41 +00:00
alisdair sullivan
56c3bdb578 reorder parser clauses and simplify escaping for performance 2014-12-07 08:15:56 +00:00
alisdair sullivan
9842a00b4d strip out checks for repeated keys in generated json. no one cares
about repeated keys
2014-12-07 07:59:51 +00:00
alisdair sullivan
c1d794f7a9 v2.3.0
let's not hype it up too much
2014-12-03 23:16:41 -08:00