UE DT Json Operate Plugin Description

简介: UE DT Json Operate Plugin Description

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 Marketplace

Json Operate Deserialize Serialize And Load Save File

https://www.unrealengine.com/marketplace/product/ee5b3bf5b19c494d941e5d83eb51e0a2

相关文章
|
10月前
|
JSON 数据格式
UE4 structure and JSON conversion - DTBPJson plugin description
UE4 structure and JSON conversion - DTBPJson plugin description
61 0
|
2天前
|
JSON 前端开发 Java
Json格式数据解析
Json格式数据解析
|
2天前
|
存储 JSON Apache
揭秘 Variant 数据类型:灵活应对半结构化数据,JSON查询提速超 8 倍,存储空间节省 65%
在最新发布的阿里云数据库 SelectDB 的内核 Apache Doris 2.1 新版本中,我们引入了全新的数据类型 Variant,对半结构化数据分析能力进行了全面增强。无需提前在表结构中定义具体的列,彻底改变了 Doris 过去基于 String、JSONB 等行存类型的存储和查询方式。
揭秘 Variant 数据类型:灵活应对半结构化数据,JSON查询提速超 8 倍,存储空间节省 65%
|
2天前
|
存储 JSON 数据处理
从JSON数据到Pandas DataFrame:如何解析出所需字段
从JSON数据到Pandas DataFrame:如何解析出所需字段
14 1
|
2天前
|
XML JSON API
转Android上基于JSON的数据交互应用
转Android上基于JSON的数据交互应用
10 1
|
2天前
|
JSON JavaScript Java
从前端Vue到后端Spring Boot:接收JSON数据的正确姿势
从前端Vue到后端Spring Boot:接收JSON数据的正确姿势
25 0
|
2天前
|
JSON 数据格式 Python
Python标准库中包含了json模块,可以帮助你轻松处理JSON数据
【4月更文挑战第30天】Python的json模块简化了JSON数据与Python对象之间的转换。使用`json.dumps()`可将字典转为JSON字符串,如`{"name": "John", "age": 30, "city": "New York"}`,而`json.loads()`则能将JSON字符串转回字典。通过`json.load()`从文件读取JSON数据,`json.dump()`则用于将数据写入文件。
18 1
|
2天前
|
JSON 数据格式 Python
Python处理JSON数据
【4月更文挑战第30天】该内容介绍了Python处理JSON数据的三个方法:1)使用`json.loads()`尝试解析字符串以验证其是否为有效JSON,通过捕获`JSONDecodeError`异常判断有效性;2)通过`json.dumps()`的`indent`参数格式化输出JSON数据,使其更易读;3)处理JSON中的日期,利用`dateutil`库将日期转换为字符串进行序列化和反序列化。
23 4
|
2天前
|
存储 JSON 数据处理
|
2天前
|
JSON 数据可视化 定位技术
python_将包含汉字的字典数据写入json(将datav的全省数据中的贵州区域数据取出来)
python_将包含汉字的字典数据写入json(将datav的全省数据中的贵州区域数据取出来)
19 0

热门文章

最新文章