An open API service indexing awesome lists of open source software.

https://github.com/jasonxudeveloper/jengine.litjson

LitJson package for JEngine. JEngine框架的LitJson扩展包。
https://github.com/jasonxudeveloper/jengine.litjson

Last synced: 3 months ago
JSON representation

LitJson package for JEngine. JEngine框架的LitJson扩展包。

Awesome Lists containing this project

README

        

# JEngine.LitJson
LitJson package for [JEngine](https://github.com/JasonXuDeveloper/JEngine).

[JEngine](https://github.com/JasonXuDeveloper/JEngine)框架的LitJson扩展包。

## Important

This repo is only compatible with [JEngine](https://github.com/JasonXuDeveloper/JEngine) repo, otherwise it may not be able to compile or to execute.

该仓库仅与[JEngine](https://github.com/JasonXuDeveloper/JEngine)兼容,否则将无法编译或运行。

## What is this

This is the adapted version of LitJson, which supports serializing ```hot update/non hot update objects``` to ```JSON string```, or to deserialize ```JSON string``` to ```hot update/non hot update objects```. It also provides ```JsonIgnore``` attribute, supported serializing/deserializing ```float```, and editor code to visualize ```JsonData``` in editor runtime.

这是LitJson的修改版本,支持了```热更/非热更对象```与```JSON字符串```相互序列化/反序列化。与此同时,这个版本提供了```JsonIgnore```标签、序列化/反序列化```float```、以及可以在编辑器运行时可视化```JsonData```的功能。

## How to use

Please install [JEngine](https://github.com/JasonXuDeveloper/JEngine) (at least v0.8.0), then download this repo, finally move the repo directory into JEngine project's ```Assets/Dependencies``` path.

Alternatively, you can use ```JEngine Package Manager``` to install.

请安装[JEngine](https://github.com/JasonXuDeveloper/JEngine)(至少v0.8.0),然后下载本仓库,接着将本仓库的文件夹移动到JEngine工程内的```Assets/Dependencies```目录下。

或者,你可以使用```JEngine Package Manager```来安装。