HoloFair SDK V4
  • 🛠️Welcome to HoloFair SDK
  • Development
    • ⚙️Initial Setup
      • Start Here
      • Setup Addressables
      • Updating HoloFair SDK in an existing project
      • Scenes & Layers
      • Portals
      • WorldSettings
      • Build & Upload Addressables
        • CloudFront
        • BunnyCDN
      • Pubish & Test your Metaverse
    • ⭐Features
      • Text
      • Respawn
      • Link
      • Image
      • Video
      • TalkZone
      • Emote
      • Timer
      • Add Force
      • Animated Objects
      • Special/VIP content
      • Localization
      • Timeline
      • Focus Point
      • REST API Integration
        • Serialized Variables
        • Smart String
      • Interaction Events
        • Use Cases for Interaction Events
      • Editing Values
      • Control Locker
    • ‼️Important
      • Format of 3D Assets
      • 🆔GUIDs
  • Guides
    • Custom User Authentication
Powered by GitBook
On this page
  1. Development
  2. Features
  3. REST API Integration

Serialized Variables

PreviousREST API IntegrationNextSmart String

Last updated 2 years ago

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.

⭐
Serialized String