Serialises the object to a JSON string. This is shorthand for JsonStringify().
JsonStringify()
None.
log {x:1}.toStr() // "{\"x\":1}"
Last updated 2 months ago