Json Encode

Description

Converts Model, Custom Model, Collection, Collection (Custom Model) variable to a json encoded string.

Event Options

Variable

The variable you wish to JSON encode

As

The resulting JSON encoded string

Example

Variable

{ "value": "hello world" }

After running the event with the above options, the As option will hold the value "{ "value": "hello world" }"

Last updated