8000 Tags · guedes/exjson · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: guedes/exjson

Tags

v0.6.0

Toggle v0.6.0's commit message
bumping to 0.6.0 and fix for Elixir 1.3

v0.5.0

Toggle v0.5.0's commit message
fixing for Hex, stamp v0.5.0

v0.4.0

Toggle v0.4.0's commit message
improve json handling of empty arrays/objects

Since `{}` outputs as `{}`, and `%{}` as `{}`, it's
inconsistent for `[{}]` to output as `[]`.

Also `[]` should definitely be read as `[%{}]`.

This PR fixes these problems. I added a 'root'
type to the JSON which is either object or array. It seemed
issue two stemmed from having array as a type of object.

This is per JSON spec I believe: http://jsonlint.com/ etc expects
either { or [ as first character of JSON. Strictly I think a JSON
string has to be a minimum of 2 bytes to be valid, but I didn't
want to change anything else.

I also bumped the version number, and changed a depreciated function
(to_char_list!).

v0.3.0

Toggle v0.3.0's commit message
fixing README

v0.2.0-dev

Toggle v0.2.0-dev's commit message
changing namespace from JSON to ExJSON, closes #15

0