Serialized Variables

In order to parse REST API JSONs, you will need to use Serialized Variables. There are six types and each have their own components:

  • Serialized String

  • Serialized Int

  • Serialized Bool

  • Serialized Float

  • Serialized Array

  • Serialized Object

The basic, generic types have a value field and an event that is invoked when the values is updated (via Request Handlers).

For each variable you'll need to create an empty game object and name it accordingly. Request Handlers will use their game object name as the variable name when serializing it to JSON.

Objects and arrays deserialize or serialize using mutiple other variables.

Last updated