Commit graph

1046 commits

Author SHA1 Message Date
alisdair sullivan
173a0a8aad Merge branch 'develop' 2014-12-04 14:25:31 +00:00
alisdair sullivan
d2a7064e4e README fixups
add example for `return_maps` and remove note about `jsxn`
2014-12-04 14:24:54 +00:00
alisdair sullivan
87e87c03f4 point travis indicator to master branch 2014-12-04 14:22:39 +00:00
alisdair sullivan
c1d794f7a9 v2.3.0
let's not hype it up too much
2014-12-03 23:16:41 -08:00
alisdair sullivan
0222c89061 remove hipe config and unused benchmarking tool 2014-12-03 23:13:58 -08:00
alisdair sullivan
eed34483e4 allow control codes in json passed to the decoder
a malicious actor can introduce the same codepoints via \uXXXX
escapes and they are not dangerous in erlang binaries regardless
2014-12-03 23:11:40 -08:00
alisdair sullivan
edee5931a4 perform uescape escaping in the decoder (for json -> whatever
transformation)`
2014-12-03 23:02:02 -08:00
alisdair sullivan
dc8e6a0c54 switch string parsing to a count and slice implementation 2014-12-03 22:54:44 -08: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
5f5e85914d v2.2 2014-11-24 19:18:10 -08:00
alisdair sullivan
5ada4c3cfc document uescape option in README 2014-11-24 19:16:20 -08:00
alisdair sullivan
95a87fa0d7 add uescape option for 7 bit clean output of strings 2014-11-24 19:15:51 -08:00
alisdair sullivan
3e80f475f5 document return_maps in README 2014-11-24 19:15:20 -08:00
alisdair sullivan
989609b250 add a return_maps option that returns maps instead of proplists 2014-11-24 19:14:30 -08:00
alisdair sullivan
55eaa7b524 add erlang.fake Makefile to support erlang.mk 2014-10-28 15:48:10 -07:00
alisdair sullivan
6b333396a3 add maps_support/0 function that reports whether jsx was
compiled with maps support or not
2014-10-28 04:46:10 +00:00
alisdair sullivan
bbf7d39e85 add Makefile to work around an erlang.mk assumption 2014-10-28 02:13:25 +00:00
alisdair sullivan
99eddc8ae8 make jsxbench more descriptive 2014-09-19 23:27:22 -07:00
alisdair sullivan
74cd4d910b update package.exs for hex 2014-09-07 14:06:52 -07:00
alisdair sullivan
4d549dd8a9 v2.1.1 2014-08-27 05:45:12 -07:00
alisdair sullivan
c6bd36709d update CHANGES 2014-08-26 22:38:46 -07:00
alisdair sullivan
c15315fc28 document repeat_keys 2014-08-26 22:37:53 -07:00
alisdair sullivan
e2ef23a46a introduce option to skip checking for repeated keys 2014-08-26 22:28:44 -07:00
alisdair sullivan
5d184327e4 fix test that was failing for the wrong reason 2014-08-26 19:27:09 -07:00
alisdair sullivan
713810de97 use iolists in place of binaries when building json 2014-08-26 18:26:23 -07:00
alisdair sullivan
53f51c26ed v2.1 2014-08-19 17:53:22 -07:00
alisdair sullivan
78f48db162 parser (and encoder) accept calendar:datetime() tuples and
convert into iso8601 strings
2014-08-19 17:50:07 -07:00
alisdair sullivan
6b43609730 allow a single trailing comma in objects or arrays 2014-08-19 17:47:44 -07:00
alisdair sullivan
c25bb49902 use end_json to end streaming when in streaming mode in addition
to `end_stream`
2014-08-13 23:00:35 -07:00
alisdair sullivan
b14714aef9 add erlang 17.1 to test env 2014-08-12 23:44:16 -07:00
alisdair sullivan
fb311b202b fix some typos, misstatements and errors in README 2014-06-16 23:45:25 +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
4df8e5092a Merge pull request #57 from yjh0502/develop
Fix dialyzer with maps_support
2014-06-09 18:29:14 -07:00
Jihyun Yu
80d883e1d4 Fix dialyzer with maps_support 2014-06-07 15:05:04 +09:00
alisdair sullivan
8845c9acbe bump to v2.0.4 2014-06-03 21:43:43 +00:00
alisdair sullivan
fc28c7cb5f further tweak typespecs 2014-05-20 16:30:21 +00:00
alisdair sullivan
ee989ad534 bump to 2.0.3 2014-05-18 07:16:44 +00:00
alisdair sullivan
2d54e05e74 add incomplete typespecs to is_json and is_term 2014-05-17 20:14:45 +00:00
alisdair sullivan
a6b0530784 purge mention of secret things 2014-05-17 20:14:25 +00:00
alisdair sullivan
60a6b7cabe fix jsxbench so it works with 2.x 2014-05-07 00:29:26 +00:00
alisdair sullivan
29d07b242d bump to 2.0.2 and publish to hex.pm 2014-05-06 19:05:06 +00:00
alisdair sullivan
5c27a1db70 update travis.yml now that is supports erlang 17.0 2014-04-29 22:35:34 -07:00
alisdair sullivan
507fa4c41d v2.0.1 2014-04-27 22:48:48 +00:00
alisdair sullivan
698a733ec1 fix formatting of empty lists/objects when converted to json 2014-04-27 22:47:09 +00:00
alisdair sullivan
4fba4f6c1c Merge branch 'develop'
Conflicts:
	.travis.yml
2014-04-22 23:12:51 +00:00
alisdair sullivan
9740befce7 point people who NEED maps to jsxn 2014-04-22 13:24:47 -07:00
alisdair sullivan
8e150dafb9 v2.0 2014-04-22 02:00:29 +00:00
alisdair sullivan
649329c362 minor refactoring of feature detection 2014-04-21 23:44:41 +00:00
alisdair sullivan
4f63503aa2 update README and CHANGES with details for 2.0 2014-04-19 00:35:56 +00:00
alisdair sullivan
38f1fae417 remove mention of internal state manipulation from CHANGES, leave
experimental for now
2014-04-19 00:13:55 +00:00