Json#

Json holds a JSON object or array in a JSON column, json in the descriptor, on a stdClass, ?stdClass, array|stdClass or array|stdClass|null property (an array one is refused); see JSON columns.

Json::make('metadata')->hideFromIndex()->columnSpan('full'),
A Json field on a ticket's form: the Metadata code editor showing the ticket's JSON object, highlighted
A Json field on a ticket's form: the Metadata code editor showing the ticket's JSON object, highlighted

It is edited as JSON text in the code editor, highlighted as JSON and flagged while it is not a valid object or array; on the wire it is the document itself. It is never sorted, filtered, searched or summarized.

How a value is read and written, and how deep it may nest, are under JSON columns. It takes the common modifiers too.