Actionjson
A faster, more advanced ActionScript 3 JSON library
Install / Use
/learn @mherkender/ActionjsonREADME
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
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
