找回密码
 立即注册
搜索

[编辑器/功能拓展] ULTIMATE JSON 2.4

[复制链接]
130 |0
发表于 2023-3-8 12:20:52 | 显示全部楼层 |阅读模式


















ULTIMATE JSON
For test performance you can download Android Benchmark APK(2.2Mb JSON File with 5256 records):
Android_APK_Benchmark

DESCRIPTION:
Best JSON Serializer/Deserializer on UNITY. Two times faster as the Newtonsoft(NETJson). Based on FastJson.
Android, iOS, Windows, Mac OS, Linux

FEATURES:
- faster JSON Serializer/Deserializer for UNITY;
- simple for use - only import package(not need insert many libraries and files);
- based on FastJSON;
- JSON Indexer API Framework;
- JSON Class Serializer API Framework;
- Support fields names with '-'. Example: property in JSON named as "en-gb". Field name in class you can name as "Engb". - Compress Tool for JSON: LZMA and QZIP (for networking);
- Supported UTF8 fields for JSON fields;
- Full source code included;
- Supported and tested on different platforms: Android, iOS, Windows Phone, Windows, Mac OS, Linux.

SupportedTypes:
I) Simple Types:
- Int
- Long
- String
- Bool
- DateTime
- Enum
- Guid
- Float
- Char
- Byte
- Decimal
- Double
- Short

II) Collection Types:
- List
- Dictionary
- StringDictionary
- NameValueCollection
- Array
- ByteArray
- Hashtable

III) Unity build-in types:
- Vector2
- Vector2Int
- Vector3
- Vector3Int
- Vector4
- Color
- Color32
- Rect
- RectInt
- Bounds
- BoundsInt
- Quaternion
- Ray
- Ray2D


最终JSON
为了测试性能,你可以下载Android Benchmark APK(2.2Mb JSON文件,5256条记录):
Android_APK_Benchmark

描述:
UNITY上最好的JSON序列化/反序列化器。比Newtonsoft(NETJson)快两倍。基于FastJson。
Android, iOS, Windows, Mac OS, Linux

特点:
-更快的JSON序列化/反序列化的UNITY;
-使用简单-只需导入包(不需要插入很多库和文件);
-基于FastJSON;
- JSON Indexer API框架;
- JSON类序列化器API框架;
—支持带“-”的字段名。示例:JSON中命名为“en-gb”的属性。类中的字段名可以命名为“Engb”。- JSON压缩工具ZMA和QZIP(用于网络);
JSON字段支持UTF8字段;
-包括完整的源代码;
-支持和测试在不同的平台:Android, iOS, Windows Phone, Windows, Mac OS, Linux

SupportedTypes:
I)简单类型:
——Int
——长
——字符串
——布尔值
- - - - - - DateTime
——枚举
——Guid
——浮动
——字符
字节
——小数
——双
——短

II)藏品种类:
——列表
——字典
——StringDictionary
——NameValueCollection
——数组
——中ByteArray
——散列表

三)统一内置类型:
——Vector2
——Vector2Int
——Vector3
——Vector3Int
——Vector4
- - - - - -颜色
——Color32
——矩形
——RectInt
- - - - - -范围
——BoundsInt
——四元数
——雷
——Ray2D





回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表