Proposal for a JSON implementation for haXe standard library.
The implementation is based on the hxJson2 implementation of JSON decoding and encoding. A few thing were changed to make the library smaller and faster and a better fit the haXe standard library.
On the haXe PHP target this libray uses native
JSON.parse if possible. When native functions are used there could be differences in the output compared with haXe version of
Building and testing
To build all the targets run:
- haxe installed ;-)
- nekoVM installed
- PHP installed
phantomJS is included in this git repository as a submodule (
git submodule update --init). For build instructions check out the build instructions.
To run tests on all platforms run
Help & Contribute
If you like to help feel free to fork this repository and send me pull requests OR ask me to become a constributer on this repository. If you found a bug, please create an issue.
Use this library
Make sure to include the
std folder in build command. (E.g.:
haxe ... -cp /path/to/lib/std ...)