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
268 0
|
4月前
|
JSON API 数据安全/隐私保护
深度分析淘宝卖家订单详情API接口,用json返回数据
淘宝卖家订单详情API(taobao.trade.fullinfo.get)是淘宝开放平台提供的重要接口,用于获取单个订单的完整信息,包括订单状态、买家信息、商品明细、支付与物流信息等,支撑订单管理、ERP对接及售后处理。需通过appkey、appsecret和session认证,并遵守调用频率与数据权限限制。本文详解其使用方法并附Python调用示例。
|
2月前
|
JSON API 数据格式
淘宝拍立淘按图搜索API系列,json数据返回
淘宝拍立淘按图搜索API系列通过图像识别技术实现商品搜索功能,调用后返回的JSON数据包含商品标题、图片链接、价格、销量、相似度评分等核心字段,支持分页和详细商品信息展示。以下是该API接口返回的JSON数据示例及详细解析:
|
2月前
|
JSON 算法 API
Python采集淘宝商品评论API接口及JSON数据返回全程指南
Python采集淘宝商品评论API接口及JSON数据返回全程指南
|
3月前
|
机器学习/深度学习 JSON 监控
淘宝拍立淘按图搜索与商品详情API的JSON数据返回详解
通过调用taobao.item.get接口,获取商品标题、价格、销量、SKU、图片、属性、促销信息等全量数据。
|
2月前
|
JSON API 数据安全/隐私保护
Python采集淘宝拍立淘按图搜索API接口及JSON数据返回全流程指南
通过以上流程,可实现淘宝拍立淘按图搜索的完整调用链路,并获取结构化的JSON商品数据,支撑电商比价、智能推荐等业务场景。
|
3月前
|
JSON 缓存 自然语言处理
多语言实时数据微店商品详情API:技术实现与JSON数据解析指南
通过以上技术实现与解析指南,开发者可高效构建支持多语言的实时商品详情系统,满足全球化电商场景需求。
|
3月前
|
JSON API 数据格式
干货满满!淘宝商品详情数据,淘宝API(json数据返回)
淘宝商品详情 API 接口(如 taobao.item.get)的 JSON 数据返回示例如下
|
4月前
|
JSON 算法 安全
淘宝商品详情API接口系列,json数据返回
淘宝开放平台提供了多种API接口用于获取商品详情信息,主要通过 淘宝开放平台(Taobao Open Platform, TOP) 的 taobao.tbk.item.info.get(淘宝客商品详情)或 taobao.item.get(标准商品API)等接口实现。以下是关键信息及JSON返回示例:
|
2月前
|
JSON 中间件 Java
【GoGin】(3)Gin的数据渲染和中间件的使用:数据渲染、返回JSON、浅.JSON()源码、中间件、Next()方法
我们在正常注册中间件时,会打断原有的运行流程,但是你可以在中间件函数内部添加Next()方法,这样可以让原有的运行流程继续执行,当原有的运行流程结束后再回来执行中间件内部的内容。​ c.Writer.WriteHeaderNow()还会写入文本流中。可以看到使用next后,正常执行流程中并没有获得到中间件设置的值。接口还提供了一个可以修改ContentType的方法。判断了传入的状态码是否符合正确的状态码,并返回。在内部封装时,只是标注了不同的render类型。再看一下其他返回的类型;
181 3

热门文章

最新文章