Skip to content

Module: json

asJson

Back to Index
value |> text

Turns any value into it’s JSON equivalent text value.

Availability

Discount Rule Reactor

Examples

import 'json'
from {
prop = "value"
} asJson
// Returns:
'{"prop":"value"}'
Back to Index