I have a confession to make. I participated in something horrible recently. I hope that sometime, somewhere, I can forgive myself.
ASON /eɪ - sahn/, short for ASCII JSON is a serialization encoding for JSON invented by Del Johnson, used to tunnel large JSON requests to an application through an Oracle Web Center Interactive portal gateway without triggering errors from the gateway.
ASON is an "ASCII encoding" of JSON text which simultaneously
- is larger than the original JSON text,
- is completely unreadable, and
- adds considerable CPU processing costs to the encoding and decoding of the text.
The steps needed to serialize a message using ASON are simple:
- Build the JSON text as usual.
- Iterate over the characters in the JSON text, building a new string by:
- Converting each character to its decimal numeric representation, and
- separating the decimal numbers with commas.
Deserializing the message is the inverse of serialization.
An example ASON message is:
[Edit: Great. I can't even look up ASCII correctly anymore. "H feel..." Bah. Thanks, Del.]