All-in-One Solution for Indie Game Development · Empowering Indie Developers' Dreams
An improved LitJson library for Unity, repackaged from XINCGer/LitJson4Unity.
This library serves as a sub-module for GameFrameX.
Edit your Unity project's Packages/manifest.json and add the scopedRegistries section:
{
"scopedRegistries": [
{
"name": "GameFrameX",
"url": "https://gameframex.upm.alianblank.uk",
"scopes": [
"com.gameframex"
]
}
]
}Then add this package to dependencies:
{
"dependencies": {
"com.gameframex.unity.xincger.litjson": "1.1.1"
}
}scopes controls which packages are resolved through this registry. Only packages whose names start with com.gameframex will be fetched from it.
- Added
link.xmlfor stripping filter - Added
LitJsonCroppingHelperanti-stripping script
Based on the original LitJson library, with additional features not supported in the original:
- Support for float type
- Support for Unity built-in types (Vector2, Vector3, Rect, AnimationCurve, Bounds, Color, Color32, Quaternion, RectOffset, etc.)
- Support for JsonIgnore Attribute to skip serialization of certain fields
- Support for formatted JSON output