Giter VIP home page Giter VIP logo

tinyjson's Introduction

TinyJSON

C#实现的JSON解析器,核心目标是效率和使用简单,并附带有严格的语法检查。 该解析器扩展了一个注释相关的语法,/**/包围的内容被视为注释,此外完全遵循JSON的语法规范(注释是否合法可以通过选项设置,默认不支持注释)。 此外解析器还支持Object的键不需要引号,允许Object/Array的最后一个元素保留逗号

接下来需要添加的特性:

  • 增加对象序列化成JSON字符串的自动反射支持
  • JSON解析支持严格模式和禁止注释的选项(此时只支持解析完全符合标准的JSON字符串)
  • JSON解析时出错,提供详细错误信息

-------------2018-5-10-------------

修改API版本(破坏向下兼容,如果要使用原来的版本,请使用v1.0分支),并提供JSON字符串映射到对象的自动反射支持

-------------2016-10-31-------------

序列化新增支持匿名函数的接口

-------------2016-06-27-------------

修改底层实现,增加新的SAX事件类型解析支持(便于集成到自定义数据类型解析),原DOM解析接口基于SAX解析接口实现,Printer增加Format格式化接口(同样基于SAX接口实现)

tinyjson's People

Contributors

libla 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.