Skip to main content

JsonSerializer

An object that is made for serializing and deserializing JSON strings with specific settings

warning

This page is a WIP. It contains all the information in Figura's documentation but we're working on adding more helpful descriptions.


deserialize()

Serializes provided JSON string to a lua value

deserialize(str)

Parameters:

NameTypeDescriptionDefault
strString--

Returns:

TypeDescription
AnyType-

Example:

-- example coming soon

serialize()

Serializes provided value to a JSON string

serialize(val)

Parameters:

NameTypeDescriptionDefault
valAnyType--

Returns:

TypeDescription
String-

Example:

-- example coming soon