GithubHelp home page GithubHelp logo

sharpjson's Introduction

SharpJson

SharpJson is a JSON parser for C#. Its main principles is to provide a lightweight and powerful API that is easy to integrate with any project.

SharpJson is based on Patrick van Bergen original JSON parser.

http://techblog.procurios.nl/k/news/view/14605/14863/how-do-i-write-my-own-parser-(for-json).html

It was optimized and refactored, but still keeping the simplicity of the original API.

Improvements made from original parser

  • Optimized parser speed (deserialize roughly near 3x faster than original)
  • Added support to handle lexer/parser error messages with line numbers
  • Added more fine grained control over type conversions during the parsing
  • Refactory API (Separate Lexer code from Parser code and the Encoder from Decoder)

Goals

  • Easy to integrate (one single source code file)
  • Provide good performance for big and small JSON files

License

SharpJson is distributed under the MIT License. Use of the spec, either as-defined or a customized extension of it, is intended to be commercial-friendly.

sharpjson's People

Contributors

atdrez avatar pharan avatar

Stargazers

 avatar IcePower avatar

Watchers

 avatar HaengBok Lee avatar

Forkers

ben0hongmoe

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.