Skip to content

JsonObject

Class in Engine · Engine.JsonObject · native

Object › JsonObject

Using it from Lua
h7.find_all("JsonObject")            -- live instances
h7.find_class("Engine.JsonObject")   -- the class
h7.hook("Engine.JsonObject.DecodeJson", fn)

Properties

NameTypeNotes
ObjectArrayarray<JsonObject>native
ObjectMapMap_Mirrornative
ValueArrayarraynative
ValueMapMap_Mirrornative

Functions

NameDeclaration
DecodeJsonstatic native function JsonObject DecodeJson(const string Str)
EncodeJsonstatic native function string EncodeJson(JsonObject Root)
GetBoolValuefunction bool GetBoolValue(const string Key)
GetFloatValuefunction float GetFloatValue(const string Key)
GetIntValuefunction int GetIntValue(const string Key)
GetObjectnative function JsonObject GetObject(const string Key)
GetStringValuenative function string GetStringValue(const string Key)
HasKeynative function bool HasKey(const string Key)
SetBoolValuefunction SetBoolValue(const string Key, bool Value)
SetFloatValuefunction SetFloatValue(const string Key, float Value)
SetIntValuefunction SetIntValue(const string Key, int Value)
SetObjectnative function SetObject(const string Key, JsonObject Object)
SetStringValuenative function SetStringValue(const string Key, const string Value)

Inherited

FromMembers
Object13 properties, 308 functions