Skip to content
hwwPublic

About

Fast, lightweight JSON serialization for Unity 3D MonoBehaviour and ScriptableObject components (available via OpenUPM), automatically reading and writing sanitized JSON data to StreamingAssets.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

XiJSON Stupid simple serialization for Unity 3D

⚙ Build and Release openupm semantic-release: angular

Simple asstes renaming tool by hww

Introduction

Fast data serialization solution for Unity. Has been used in two commercial products for redemption machines.

Uses Unity's built-in JSON serializer, but does simple data sanitization using regular expressions.

Install

The package is available on the openupm registry. You can install it via openupm-cli.

openupm add com.hww.xijson

You can also install via git url by adding this entry in your manifest.json

"com.hww.xijson": "https://github.com/hww/XiJSON.git#upm"

Usage

For MonoBehaviour, just inherince your class from JsonBehaviour. For ScriptableObject, just inherince from JsonObject. After that the importing and exporting will read and write data to the StreamingAssets folder.

/StreamingAssets/XiJSON/Assets/        // For the all assets
/StreamingAssets/XiJSON/{SceneName}/   // For a scene with name 

About

Fast, lightweight JSON serialization for Unity 3D MonoBehaviour and ScriptableObject components (available via OpenUPM), automatically reading and writing sanitized JSON data to StreamingAssets.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages