documentation

VLJsonUtility Class Reference

VisionLib functions for working with JSON data. More...

Static Public Member Functions

static T FromJson< T > (string json)
 
static void FromJsonOverwrite (string json, object objectToOverwrite)
 
static string ToJson (object obj)
 
static string ToJson (object obj, bool prettyPrint)
 

Detailed Description

VisionLib functions for working with JSON data.

Right now it's just using the JsonUtility class from UnityEngine.

Member Function Documentation

◆ FromJson< T >()

static T VLJsonUtility.FromJson< T > ( string  json)
inlinestatic

◆ FromJsonOverwrite()

static void VLJsonUtility.FromJsonOverwrite ( string  json,
object  objectToOverwrite 
)
inlinestatic

◆ ToJson() [1/2]

static string VLJsonUtility.ToJson ( object  obj)
inlinestatic

◆ ToJson() [2/2]

static string VLJsonUtility.ToJson ( object  obj,
bool  prettyPrint 
)
inlinestatic