UE DT Json Operate Plugin Description

CATALOG

DT Josn | Load

LoadStringToJsonObject

LoadFileToJsonObject

LoadStringToJsonValue

LoadFileToJsonValue

LoadStringToJsonValueArray

LoadFileToJsonValueArray

DT Json | Save 

JsonObjectToString

JsonObjectToFile

JsonValueToString

JsonValueToFile

JsonValueArrayToString

JsonValueArrayToFile

DT Json | Json Object

HasField

GetNumberField

GetIntegerField

TryGetNumberFieldFloat

TryGetNumberField_Double

TryGetNumberField_Int32

TryGetNumberField_Int64

TryGetNumberField_UInt8

GetStringField

TryGetStringField

TryGetStringArrayField

GetBoolField

TryGetBoolField

GetArrayField

TryGetArrayField

GetObjectField

TryGetObjectField

SetNumberField

SetStringField

SetBoolField

SetArrayField

SetObjectField

RemoveField

DT Json | Json Value

AsNumber

AsString

AsBool

AsArray

AsObject

TryGetNumber_Double

TryGetNumber_Float

TryGetNumber_Int32

TryGetNumber_Int64

TryGetNumber_UInt8

TryGetString

TryGetBool

TryGetArray

TryGetObject

IsNull


DT Josn | Load

LoadStringToJsonObject

Generate Json object from string text

LoadFileToJsonObject

Generate Json object from file

LoadStringToJsonValue

Generate Json value from string text

LoadFileToJsonValue

Generate Json value from file

LoadStringToJsonValueArray

Generate Json value array from string text

LoadFileToJsonValueArray

Generate Json value array from file

DT Json | Save 

JsonObjectToString

Json object formatted as a string

JsonObjectToFile

Json object is saved as UTF8 format file

JsonValueToString

Json value formatted as a string

JsonValueToFile

Json value is saved as UTF8 format file

JsonValueArrayToString

Json value array formatted as a string

JsonValueArrayToFile

Json value array is saved as UTF8 format file

DT Json | Json Object

HasField

Checks whether a field with the specified name exists in the object.

Param FieldName The name of the field to check.
Return true if the field exists, false otherwise.

GetNumberField

Gets the field with the specified name as a number.

Ensures that the field is present and is of type Json number.

Param FieldName The name of the field to get.
Return The field's value as a number.

GetIntegerField

Gets a numeric field and casts to an int32

TryGetNumberFieldFloat

Get the field named FieldName as a number. Returns false if it doesn't exist or cannot be converted.

TryGetNumberField_Double

Get the field named FieldName as a number, and makes sure it's within uint8 range. Returns false if it doesn't exist or cannot be converted. 

TryGetNumberField_Int32

Get the field named FieldName as a number, and makes sure it's within uint8 range. Returns false if it doesn't exist or cannot be converted. 

TryGetNumberField_Int64

Get the field named FieldName as a number, and makes sure it's within uint8 range. Returns false if it doesn't exist or cannot be converted. 

TryGetNumberField_UInt8

Get the field named FieldName as a number, and makes sure it's within uint8 range. Returns false if it doesn't exist or cannot be converted. 

GetStringField

Get the field named FieldName as a string. 

TryGetStringField

Get the field named FieldName as a string. Returns false if it doesn't exist or cannot be converted. 

TryGetStringArrayField

Get the field named FieldName as an array of strings. Returns false if it doesn't exist or any member cannot be converted.

GetBoolField

  

Gets the field with the specified name as a boolean.

Ensures that the field is present and is of type Json number.

Param FieldName The name of the field to get.
Return The field's value as a boolean.

TryGetBoolField

Get the field named FieldName as a string. Returns false if it doesn't exist or cannot be converted.

GetArrayField

Get the field named FieldName as an array. 

TryGetArrayField

Try to get the field named FieldName as an array, or return false if it's another type 

GetObjectField

Gets the field with the specified name as a Json object.

Ensures that the field is present and is of type Json object.

Param FieldName The name of the field to get.
Return The field's value as a Json object.

TryGetObjectField

Try to get the field named FieldName as an object, or return false if it's another type 

SetNumberField

Add a field named FieldName with Number as value 

SetStringField

Add a field named FieldName with value of StringValue 

SetBoolField

Set a boolean field named FieldName and value of InValue

SetArrayField

Set an array field named FieldName and value of Array 

SetObjectField

Set an ObjectField named FieldName and value of JsonObject 

RemoveField

Removes the field with the specified name.

Param FieldName The name of the field to remove.

DT Json | Json Value

AsNumber

Returns this value as a double, logging an error and returning zero if this is not an Json Number

AsString

Returns this value as a string, logging an error and returning an empty string if not possible

AsBool

Returns this value as a boolean, logging an error and returning false if not possible 

AsArray

Returns this value as an array, logging an error and returning an empty array reference if not possible 

AsObject

Returns this value as an object, throwing an error if this is not an Json Object 

TryGetNumber_Double

Tries to convert this value to a number, returning false if not possible 

TryGetNumber_Float

Tries to convert this value to a number, returning false if not possible 

TryGetNumber_Int32

Tries to convert this value to a number, returning false if not possible 

TryGetNumber_Int64

Tries to convert this value to a number, returning false if not possible 

TryGetNumber_UInt8

Tries to convert this value to a number, returning false if not possible 

TryGetString

Tries to convert this value to a string, returning false if not possible 

TryGetBool

Tries to convert this value to a bool, returning false if not possible 

TryGetArray

Tries to convert this value to an array, returning false if not possible 

TryGetObject

Tries to convert this value to an object, returning false if not possible 

IsNull

Returns true if this value is a 'null' 

Json Operate in Code Plugins - UE MarketplaceJson Operate Deserialize Serialize And Load Save Filehttps://www.unrealengine.com/marketplace/product/ee5b3bf5b19c494d941e5d83eb51e0a2 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值