Giter VIP home page Giter VIP logo

json-smart-v2's Introduction

json-smart-v2

== My Changes ==

  • JsonReaderI抽象函数添加了一个方法,新增json数组时多了一个索引入参:
    addValue(Object current, int index, Object value);默认调用addValue(Object current, Object value);

  • JSONParserBase解析json基础类的readArray里修改上述的addValue为带索引的新方法

  • 添加了测试代码,自定义json-smart\src\test\java\net\minidev\json\testForMyChanges\TestCustomJsonReaderI.java

  • Bug: 原始数组类型序列化错误,两种解决方案:注册处理原始数组类型的写方法,如JsonWriterI< byte[] >;或者修改ArrayWriter类的writeJSONString方法里的((Object[]) value)强制转换。

== Changelog: ==

V 2.2

  • rename asm to accessors-smart due to conflict name with asm.ow2.org lib.
  • fix OSGI error
  • add support for BigDecimal
  • improve JSONObject.getAsNumber() helper
  • add a Field Remaper

V 2.1

  • net.minidev.json.mapper renamed to net.minidev.json.writer
  • Add ACCEPT_TAILLING_SPACE Parssing Flag.
  • Mapper classes now non static.
  • Reader mapper are now available in net.minidev.json.reader.JsonReader class
  • Writer mapper are now available in net.minidev.json.writer.JsonWriter class

V 2.0

V 2.0-RC3

V 2.0-RC2

V 2.0-RC1

  • speed improvement in POJO manipulation
  • add JSONStyle.LT_COMPRESS predefined generate strct json, but ignoring / escapement.

json-smart-v2's People

Contributors

ssfang avatar urielch avatar

Watchers

 avatar  avatar

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.