Giter Site home page Giter Site logo

netjson's Introduction

NetJSON

Faster than Any Binary?

Quick Guide

https://github.com/rpgmaker/NetJSON/wiki/Quick-Guide

Benchmark How Fast?

http://theburningmonk.com/2014/08/json-serializers-benchmarks-updated-2/

3.4x Faster Than JSON.NET

2.4x Faster Than Service Stack JSON

1.8x Faster Than Jil

6x Faster Than JSON.NET BSON

16.5x Faster Than Microsoft JavaScriptSerializer

4.3x Faster Than DataContractJsonSerializer

1.6x Faster Than Protobuf-net

  • Without Outcome Filter of Min and Max

Test Group [Protobuf-Net], Test [Serialization] results summary: Successes [5] Failures [0]

  • Average Exec Time [257.9771] milliseconds Test Group [Protobuf-Net] average serialized byte array size is [51.72424] Test Group [Protobuf-Net], Test [Deserialization] results summary: Successes [5] Failures [0] Average Exec Time [251.4977] milliseconds

Test Group [NetJson], Test [Serialization] results summary: Successes [5] Failures [0]

  • Average Exec Time [157.98844] milliseconds Test Group [NetJson] average serialized byte array size is [98.86456] Test Group [NetJson], Test [Deserialization] results summary: Successes [5] Failures [0] Average Exec Time [252.18208] milliseconds

How to Use

var myObject = new SimpleObject(){ ID = 100, Name = "Test", Value = "Value" };

var json = NetJSON.Serialize(myObject);

var recreatedObject = NetJSON.Deserialize(json);

Other Downloads

Nuget: https://www.nuget.org/packages/NetJSON/

netjson's People

Contributors

rpgmaker avatar jefclaes avatar

Watchers

 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.