Noggit - JSON streaming parser

  •        70

Noggit is the world's fastest streaming JSON parser for Java. It is used in Apache Solr.
Its features include:

  • Fast! Measured as the fastest JSON parser on char[], String input.
  • Streaming API (StAX/pull-parser like) for both easy and efficient parsing.
  • Conforms to JSON standard: http://www.ietf.org/rfc/rfc4627.txt
  • Conforms to JSON standard: http://rfc7159.net/rfc7159
  • Memory efficiency:
    • Incremental parsing (Reader-based) in order to handle huge messages.
    • A single byte of state needed per nested object or array.
    • Doesn't read large objects (including primitives) into memory unless asked.
    • Can eliminate most copying, allowing user to provide value output buffers.
  • Can handle primitives of any size (does not attempt to parse numerics into a certain language primitive unless asked).
  • Simple serialization of objects (List, Map, etc).
  • Optional creation of objects (List, Map, etc) when parsing.

https://github.com/yonik/noggit

Tags
Implementation
License
Platform

   




Related Projects

Jackson JSON - JSON Parser in Java


Jackson is a multi-purpose Java library for processing JSON data format. This project contains core low-level incremental ("streaming") parser and generator abstractions used by Jackson Data Processor. It also includes the default implementation of handler types (parser, generator) that handle JSON format.

JsonFx.NET - JSON serialization framework for .NET


JsonFx v2.0 - JSON serialization framework for .NET. It has unified interface for reading / writing JSON, BSON, XML, JsonML. It implements LINQ-to-JSON, Supports reading/writing using DataContract, XmlSerialization, JsonName, attributes and lot more.

json-glib - Frida depends on json-glib


BUGS----JSON-GLib tracks bugs in the GNOME Bugzilla.If you find a bug in JSON-GLib, please file an issue using[the appropriate form][bugzilla-enter-bug]. You can also check[the list of open bugs][bugzilla-bug-page].Required information: * the version of JSON-GLib * if it is a development version, the branch of the git repository * the JSON data that produced the bug (if any) * a small, self-contained test case, if none of the test units exhibit the buggy behaviour * in case of a segmentation

fastjson - Fast JSON Processor


Fastjson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Fastjson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of.



spotify-json - Fast and nice to use C++ JSON library.


spotify-json depends on Google's double-conversion library, which must be linked in to the code that uses spotify-json.spotify-json offers a range of codec types that can serialize and parse specific JSON values. There are codecs for each of the basic data types that JSON offers: strings, numbers, arrays, booleans, objects and null.

HandyJSON - A handy swift json-object serialization/deserialization library


HandyJSON is a framework written in Swift which to make converting model objects( pure classes/structs ) to and from JSON easy on iOS.Compared with others, the most significant feature of HandyJSON is that it does not require the objects inherit from NSObject(not using KVC but reflection), neither implements a 'mapping' function(writing value to memory directly to achieve property assignment).

ServiceStack text - NET's fastest JSON, JSV and CSV Text Serializers


ServiceStack.Text is an independent, dependency-free serialization library that contains ServiceStack's text processing functionality, including: JsonSerializer, TypeSerializer (JSV-Format), CsvSerializer, T.Dump extension method, StringExtensions - Xml/Json/Csv/Url encoding, BaseConvert, Rot13, Hex escape, etc., Stream, Reflection, List, DateTime, etc extensions and utils.

json-parser


The parser streams its result into a json handler. The handler gets events from the parser and can act accordingly. It allows for memory-efficient processing of large data sets.The core parser is not tied to a particular JSON AST (abstract syntax tree). Through the streaming interface, any AST can be built. The parser currently ships with a spray-json builder, more will follow.

JSON-Push-Parser - A streaming, non-blocking JSON parser for Java


A streaming, non-blocking JSON parser for Java

json-stream - streaming json-parser for nodejs


streaming json-parser for nodejs

flojay - Streaming JSON serialization


Streaming JSON serialization

JSONCPP - A C++ library for interacting with JSON


JsonCpp is a C++ library that allows manipulating JSON values, including serialization and deserialization to and from strings. It can also preserve existing comment in unserialization/serialization steps, making it a convenient format to store user input files.

jsonparser - Alternative JSON parser for Go that does not require schema (so far fastest)


It does not require you to know the structure of the payload (eg. create structs), and allows accessing fields by providing the path to them. It is up to 10 times faster than standard encoding/json package (depending on payload size and usage), allocates no memory. See benchmarks below.Originally I made this for a project that relies on a lot of 3rd party APIs that can be unpredictable and complex. I love simplicity and prefer to avoid external dependecies. encoding/json requires you to know exactly your data structures, or if you prefer to use map[string]interface{} instead, it will be very slow and hard to manage. I investigated what's on the market and found that most libraries are just wrappers around encoding/json, there is few options with own parsers (ffjson, easyjson), but they still requires you to create data structures.

JSON-CC - yangacer::json - A C++ JSON parser and JSON variant


yangacer::json - A C++ JSON parser and JSON variant

JSON.NET - JSON framework for .NET


Json.NET is a popular high-performance JSON framework for .NET. It is serializes .NET objects to JSON. It converts JSON to LINQ, XML and lot more. It performs faster than .NET buit in serializers.

Convert between PowerShell and JSON


ConvertTo-JSON and ConvertFrom-JSON. Take a JSON string and crank out PowerShell Objects. Got PowerShell Objects, generate JSON strings form them.