Skip to content

asJsonText

Module Export

value |> text

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

Examples

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