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:
| Name | Type | Description | Default |
|---|---|---|---|
| str | String | - | - |
Returns:
| Type | Description |
|---|---|
AnyType | - |
Example:
-- example coming soon
serialize()
Serializes provided value to a JSON string
serialize(val)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
| val | AnyType | - | - |
Returns:
| Type | Description |
|---|---|
String | - |
Example:
-- example coming soon