Giter VIP home page Giter VIP logo

com.xincger.litjson's Introduction

适用于Unity的改进型LitJson库

基于 https://github.com/XINCGer/LitJson4Unity 二次包装

该库主要服务于 https://github.com/AlianBlank/GameFrameX 作为子库使用。

使用方式(三种方式)

  1. 直接在 manifest.json 文件中添加以下内容

       {"com.xincger.litjson": "https://github.com/AlianBlank/com.xincger.litjson.git"}
  2. 在Unity 的Packages Manager 中使用Git URL 的方式添加库,地址为:https://github.com/AlianBlank/com.xincger.litjson.git

  3. 直接下载仓库放置到Unity 项目的Packages 目录下。会自动加载识别

改动功能

  1. 增加 link.xml 的裁剪过滤

简介

基于原生的LitJson库改造的适用于Unity的LitJson库。
支持以下原生版本不支持的特性

  • 支持float类型(最新原生版本已经支持)
  • 支持Unity内建类型(Vector2、Vector3、Rect、AnimationCure、Bounds、Color、Color32、Quaternion、RectOffset等)
  • 支持JsonIgnore Attritube,对某些字段跳过序列化
  • 支持对输出的Json内容格式化,更规整

博客教程

com.xincger.litjson's People

Contributors

alianblank avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

cc10vv2007

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.