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
98 0
|
3月前
|
XML 存储 JSON
Twaver-HTML5基础学习(19)数据容器(2)_数据序列化_XML、Json
本文介绍了Twaver HTML5中的数据序列化,包括XML和JSON格式的序列化与反序列化方法。文章通过示例代码展示了如何将DataBox中的数据序列化为XML和JSON字符串,以及如何从这些字符串中反序列化数据,重建DataBox中的对象。此外,还提到了用户自定义属性的序列化注册方法。
50 1
|
2月前
|
数据采集 JSON 数据处理
抓取和分析JSON数据:使用Python构建数据处理管道
在大数据时代,电商网站如亚马逊、京东等成为数据采集的重要来源。本文介绍如何使用Python结合代理IP、多线程等技术,高效、隐秘地抓取并处理电商网站的JSON数据。通过爬虫代理服务,模拟真实用户行为,提升抓取效率和稳定性。示例代码展示了如何抓取亚马逊商品信息并进行解析。
抓取和分析JSON数据:使用Python构建数据处理管道
|
1月前
|
JSON 数据格式 索引
Python中序列化/反序列化JSON格式的数据
【11月更文挑战第4天】本文介绍了 Python 中使用 `json` 模块进行序列化和反序列化的操作。序列化是指将 Python 对象(如字典、列表)转换为 JSON 字符串,主要使用 `json.dumps` 方法。示例包括基本的字典和列表序列化,以及自定义类的序列化。反序列化则是将 JSON 字符串转换回 Python 对象,使用 `json.loads` 方法。文中还提供了具体的代码示例,展示了如何处理不同类型的 Python 对象。
|
1月前
|
JSON 缓存 前端开发
PHP如何高效地处理JSON数据:从编码到解码
在现代Web开发中,JSON已成为数据交换的标准格式。本文探讨了PHP如何高效处理JSON数据,包括编码和解码的过程。通过简化数据结构、使用优化选项、缓存机制及合理设置解码参数等方法,可以显著提升JSON处理的性能,确保系统快速稳定运行。
|
2月前
|
JSON JavaScript Java
在Java中处理JSON数据:Jackson与Gson库比较
本文介绍了JSON数据交换格式及其在Java中的应用,重点探讨了两个强大的JSON处理库——Jackson和Gson。文章详细讲解了Jackson库的核心功能,包括数据绑定、流式API和树模型,并通过示例演示了如何使用Jackson进行JSON解析和生成。最后,作者分享了一些实用的代码片段和使用技巧,帮助读者更好地理解和应用这些工具。
159 0
在Java中处理JSON数据:Jackson与Gson库比较
|
1月前
|
JSON API 数据安全/隐私保护
拍立淘按图搜索API接口返回数据的JSON格式示例
拍立淘按图搜索API接口允许用户通过上传图片来搜索相似的商品,该接口返回的通常是一个JSON格式的响应,其中包含了与上传图片相似的商品信息。以下是一个基于淘宝平台的拍立淘按图搜索API接口返回数据的JSON格式示例,同时提供对其关键字段的解释
|
2月前
|
JSON JavaScript API
(API接口系列)商品详情数据封装接口json数据格式分析
在成长的路上,我们都是同行者。这篇关于商品详情API接口的文章,希望能帮助到您。期待与您继续分享更多API接口的知识,请记得关注Anzexi58哦!
|
2月前
|
JSON 前端开发 Java
【Spring】“请求“ 之传递 JSON 数据
【Spring】“请求“ 之传递 JSON 数据
94 2
|
3月前
|
存储 JSON Go
在Gin框架中优雅地处理HTTP请求体中的JSON数据
在Gin框架中优雅地处理HTTP请求体中的JSON数据
下一篇
DataWorks