Documentation Home
Breadcrumbs

JSON

JSON Helpers

Skyreal VR includes the JsonBlueprint plugin by default, providing blueprint nodes for creating, reading, and manipulating JSON data structures.

Overview

The JsonBlueprint plugin allows you to work with JSON directly in Unreal Engine blueprints without writing C++ code. This is especially useful for:

  • Saving and loading extension configuration data

  • Parsing API responses

  • Creating structured reports (e.g., MSD analysis reports)

  • Exchanging data between Skyreal VR and external tools

Example

The following JSON structure can be created entirely in blueprints:

JSON
{
    "Even": [0, 2, 4],
    "Odd": ["one", "three", "five"],
    "Object": {
        "ObjectParam1": true,
        "ObjectParam2": true
    }
}

[IFRAME: JSON blueprint sample code — original at https://blueprintue.com/render/yu3t-tna/]

Common Operations

  • Create JSON Object — Build a new JSON object from scratch

  • Add fields — Add string, number, boolean, array, or nested object fields

  • Parse JSON — Parse a JSON string into a blueprint-usable object

  • Serialize to string — Convert a JSON object back to a string for saving or transmission

  • Read/write JSON files — Combine with the File Helpers (TestFileExist, LaunchFileInDefaultExternalApplication) to load and save JSON files on disk