Benedikt Reinartz
6d71eeccf4
Make the map term more specific
2020-03-08 13:14:17 +01:00
Tristan Sloughter
6712649b9a
add licenses hex metadata
2019-06-03 11:19:11 -06:00
Tristan Sloughter
b1289a16ae
verison bump 2.10.0
2019-06-03 11:17:02 -06:00
Dmitry Kolesnikov
5dbb9b5f24
Support custom newline symbol(s) for format option
2019-05-24 22:54:36 +03:00
Paulo F. Oliveira
a3b1a9dad9
Allow -spec(). to reflect what's really going on
...
Handle "Invalid type specification"
2018-02-10 00:04:14 +00:00
Paulo F. Oliveira
f80903b3f5
Update -spec(). for proper module readibility
...
Handle "Invalid type specification"
2018-02-09 23:59:30 +00:00
alisdair
fc2a001073
bump version to 2.9.0
2017-12-23 19:10:12 -08:00
alisdair
e5bfa8a39e
add control_codes
mode to strict parsing that rejects strings with
...
ascii control codes
2017-12-23 19:08:28 -08:00
Jean-Sébastien Pédron
48574d4242
jsx_to_term:parse_config/2: Honor return_maps
option value
...
Previously, no matter what the caller specified in options,
`return_maps` was always set to `true`. The only solution was to not
specify `return_maps` at all.
Unfortunately, if the caller is using a wrapper which sets default
options, including `return_maps`, it's impossible to override it. This
prevented the caller from requesting this mode if he was interested in
preserving the order of keys.
While here, add a testcase for this.
2017-09-26 10:20:42 +02:00
alisdair sullivan
d5913af1b7
v2.8.2
2017-02-06 18:48:03 -08:00
alisdair sullivan
bd8c9c7ad9
v2.8.1
2016-12-08 10:10:51 -08:00
Leonardo Rossi
5342ed1368
global: accept erlang:timestamp()
...
* Adds support for erlang:timestamp(). (closes #92 )
Signed-off-by: Leonardo Rossi <leonardo.rossi@studenti.unipr.it>
2016-01-15 19:22:44 +01:00
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