Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mherkender/actionjson
A faster, more advanced ActionScript 3 JSON library
https://github.com/mherkender/actionjson
Last synced: 3 months ago
JSON representation
A faster, more advanced ActionScript 3 JSON library
- Host: GitHub
- URL: https://github.com/mherkender/actionjson
- Owner: mherkender
- Created: 2010-10-30T20:04:50.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-02-06T03:07:18.000Z (almost 13 years ago)
- Last Synced: 2024-05-03T06:22:50.324Z (6 months ago)
- Language: ActionScript
- Homepage: http://blog.brokenfunction.com/
- Size: 1.15 MB
- Stars: 124
- Watchers: 12
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
- awesome-actionscript-sorted - actionjson - A faster, more advanced ActionScript 3 JSON library (File Formats / JSON)
README
*With the release of Flash 11 (Oct 2011), Adobe has added native JSON support to Flash, which is significantly faster than anything that can be written in AS3. For projects that want to take advantage of this, while still staying compatible with Flash 9 and 10, there is a new argument in decodeJson and encodeJson that will use the native parser if it is available, giving developers the best of both words.*
actionjson includes four projects
decodeJson - A very fast JSON decoder. Around 5-8x faster than as3corelib's JSON decoder
encodeJson - A very fast json encoder. Around 3x faster than as3corelib's JSON encoder
JsonDecoderAsync - An asynchronous JSON parser. Can parse JSON in chunks, making it great for parsing large objects over time. Still around 2x faster than as3corelib's JSON decoder
JsonEncoderAsync - An asynchronous JSON encoder. Encodes JSON in chunks, for large objects that need to be encoded over time. Sadly, about the same speed as as3corelib's JSON encoder
Download the library as a swc here:
http://github.com/mherkender/actionjson/raw/master/actionjson.swc