HSON MIME Types & Usage

HSON is typically described in a <script> element in your HTML. This script is identified with a special type so that the browser will ignore it, but our code can easily access it.

Current MIME Type

We're just beginning to distinguish HSON as a distinct standard, separate from the SA5 Data library, so that it can be clearly documented, and so that the community can use the specification to write other parsers and handlers.

Currently, the most supported MIME type is the one used currently in SA5 Data, directly, which is;

sygnal/sa5-data

Migration Plans

We intend to retire sygnal/sa5-data in favor of our browser naming conventions below.

Our current types;

Script MIME Type
Usage

application/hson

General-purpose HSON

application/wfx+hson

application/hf+hson

Used to configure Sygnal's Hyperflow reverse proxy platform with page and site-specific settings.

Last updated