Commit graph

1165 commits

Author SHA1 Message Date
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
alisdair sullivan
8f5af8a85c add a rebar.config option to disable maps 2014-04-19 00:10:09 +00:00
alisdair sullivan
6d589f6766 fix rebar.config.script for < otp 17.0 2014-04-19 00:00:54 +00:00
alisdair sullivan
a46118ecb3 refactor out copy/pasted encode methods 2014-04-18 23:43:40 +00:00
alisdair sullivan
91bce610a6 correctly pass compile opts to rebar 2014-04-17 14:08:15 +00:00
alisdair sullivan
6089de017c switch to feature detection rather than trying to figure out from
compiler version/release whether maps should be supported
2014-04-17 13:40:28 +00:00
alisdair sullivan
4d058d1616 add a check for env var to optionally compile without support for
erlang maps
2014-04-16 00:06:45 +00:00
alisdair sullivan
ffa3fb5eae rebar.config.script that checks for maps support in the release rebar
is using to compile. hopefully this is the same release as the
  artifact is being run on
2014-04-15 23:59:53 +00:00
alisdair sullivan
bc20262d1f Merge branch 'develop' of github.com:talentdeficit/jsx into develop 2014-02-10 20:35:05 +00:00
alisdair sullivan
5868430718 tighten `json_term' type
fixes #50
2014-02-10 20:34:20 +00:00
alisdair sullivan
a16efe58f3 Merge pull request #51 from kiela/develop
Run tests against R16Bx and 17.0-rc1 on Travis CI
2014-02-10 12:28:17 -08:00
Kamil Kieliszczyk
2ab6fdc0bd Run tests against R16Bx and 17.0-rc1 on Travis CI 2014-02-10 12:43:24 +01:00
alisdair sullivan
e1599574ff properly export config type 2014-02-10 06:39:15 +00:00
alisdair sullivan
1049d69f3e remove dead code
(thanks to dialyzer for the assist)
2014-02-10 04:06:13 +00:00
alisdair sullivan
a571665cb9 fix unused variable warning during compilation 2014-01-14 01:02:30 +00:00
alisdair sullivan
aa879c32ee add link to master branch in `README' 2014-01-13 16:46:10 -08:00
alisdair sullivan
618c017638 point users to `master' branch for 1.x 2014-01-13 16:44:16 -08:00
alisdair sullivan
ff3915abbc Merge branch 'vtwopointoh' into develop 2014-01-14 00:42:12 +00:00
alisdair sullivan
92f0a65dab important note about 2.0 preview 2014-01-14 00:39:06 +00:00
alisdair sullivan
52f5824de4 strip out public api for term/json building functions. not mature yet 2014-01-14 00:33:31 +00:00
alisdair sullivan
1050f560a7 update CHANGES 2014-01-13 07:59:59 +00:00
alisdair sullivan
c81e2108dd add `get_value/1' function for retrieving the current (final?) value
of the internal representations from `jsx_to_json' and `jsx_to_term'

add all internal representation functions to `jsx' module and export
them
2014-01-12 21:38:02 +00:00
alisdair sullivan
00469ba9c6 change `get_key/1' functions to return bare value or throw error
add `start_term' and `start_json' functions
2014-01-12 20:36:19 +00:00
alisdair sullivan
9cb8703bee Merge pull request #47 from kiela/master
Add R16B01 abd R16B02 to travis ci config
2014-01-07 21:10:36 -08:00
Kamil Kieliszczyk
e68ab6bc85 Add R16B01 abd R16B02 to travis ci config 2014-01-06 21:20:55 +01:00
alisdair sullivan
0c7517468c update CHANGES 2013-12-18 02:39:43 +00:00
alisdair sullivan
d011411c23 v1.4.5 2013-12-18 02:32:21 +00:00
alisdair sullivan
95b2d9b628 allow atoms in erlang terms to be converted to strings in json objects
and arrays. `true`, `false` and `null` excluded
2013-12-18 02:13:50 +00:00
alisdair sullivan
3bb65e9bab Merge branch 'develop' into vtwopointoh 2013-12-17 02:03:21 +00:00
alisdair sullivan
9e701a5f8b minor README edits 2013-12-16 22:32:18 +00:00
alisdair sullivan
123f8208d0 add atom to values allowed in to be encoded terms 2013-12-12 11:31:38 -08:00
alisdair sullivan
9a36b774ae include details of atoms as strings in CHANGES 2013-12-12 11:30:26 -08:00