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

相关文章
|
JSON 数据格式
UE4 structure and JSON conversion - DTBPJson plugin description
UE4 structure and JSON conversion - DTBPJson plugin description
89 0
|
2月前
|
XML 存储 JSON
Twaver-HTML5基础学习(19)数据容器(2)_数据序列化_XML、Json
本文介绍了Twaver HTML5中的数据序列化,包括XML和JSON格式的序列化与反序列化方法。文章通过示例代码展示了如何将DataBox中的数据序列化为XML和JSON字符串,以及如何从这些字符串中反序列化数据,重建DataBox中的对象。此外,还提到了用户自定义属性的序列化注册方法。
42 1
|
12天前
|
数据采集 JSON 数据处理
抓取和分析JSON数据:使用Python构建数据处理管道
在大数据时代,电商网站如亚马逊、京东等成为数据采集的重要来源。本文介绍如何使用Python结合代理IP、多线程等技术,高效、隐秘地抓取并处理电商网站的JSON数据。通过爬虫代理服务,模拟真实用户行为,提升抓取效率和稳定性。示例代码展示了如何抓取亚马逊商品信息并进行解析。
抓取和分析JSON数据:使用Python构建数据处理管道
|
2天前
|
JSON 缓存 前端开发
PHP如何高效地处理JSON数据:从编码到解码
在现代Web开发中,JSON已成为数据交换的标准格式。本文探讨了PHP如何高效处理JSON数据,包括编码和解码的过程。通过简化数据结构、使用优化选项、缓存机制及合理设置解码参数等方法,可以显著提升JSON处理的性能,确保系统快速稳定运行。
|
17天前
|
JSON JavaScript Java
在Java中处理JSON数据:Jackson与Gson库比较
本文介绍了JSON数据交换格式及其在Java中的应用,重点探讨了两个强大的JSON处理库——Jackson和Gson。文章详细讲解了Jackson库的核心功能,包括数据绑定、流式API和树模型,并通过示例演示了如何使用Jackson进行JSON解析和生成。最后,作者分享了一些实用的代码片段和使用技巧,帮助读者更好地理解和应用这些工具。
在Java中处理JSON数据:Jackson与Gson库比较
|
27天前
|
JSON JavaScript API
(API接口系列)商品详情数据封装接口json数据格式分析
在成长的路上,我们都是同行者。这篇关于商品详情API接口的文章,希望能帮助到您。期待与您继续分享更多API接口的知识,请记得关注Anzexi58哦!
|
29天前
|
JSON 前端开发 Java
【Spring】“请求“ 之传递 JSON 数据
【Spring】“请求“ 之传递 JSON 数据
82 2
|
2月前
|
存储 JSON Go
在Gin框架中优雅地处理HTTP请求体中的JSON数据
在Gin框架中优雅地处理HTTP请求体中的JSON数据
|
2月前
|
JSON JavaScript 数据格式
vue写入json数据到文本中+vue引入cdn的用法
vue写入json数据到文本中+vue引入cdn的用法
52 10
|
19天前
|
JSON API 数据格式
商品详情数据JSON格式示例参考(api接口)
JSON数据格式的商品详情数据通常包含商品的多个层级信息,以下是一个综合多个来源信息的JSON数据格式的商品详情数据示例参考: