Yet Another JSON Library NuGet Package

From project website
Features
Simple Interface
Largely because YAJL is event driven, the interface is very concise object oriented C.
The interface is not cluttered with data representation, that bit is left up to higher level code.
Indeed it should be possible to port most existing JSON libraries onto YAJL if so desired.


Stream parsing
YAJL remembers all state required to support restarting parsing.
This allows parsing to occur incrementally as data is read off a disk or network.
Fast
A second motivation for writing YAJL, was that many available free JSON parsers fall over on large or complex inputs.
YAJL is careful to minimize memory copying and input re-scanning when possible.
The result is a parser that should be fast enough for most applications or tunable for any application.
On my mac pro (2.66 ghz) it takes 1s to verify a 60meg json file. Minimizing that same file with json_reformat takes 4s.
Low resource consumption
Largely because YAJL deals with streams, it's possible to parse JSON in low memory environments.
Oftentimes with other parsers an application must hold both the input text and the memory representation of the tree in memory at one time.
With YAJL you can incrementally read the input stream and hold only the in memory representation.
Or for filtering or validation tasks, it's not required to hold the entire input text in memory.




Got any Yet Another JSON Library Question?





Info

Version: 2.1.1
Author(s): Lloyd Hilaiel
Last Update: Monday, April 25, 2016
.NET Fiddle: Create the first Fiddle
Project Url: http://lloyd.github.io/yajl/
NuGet Url: https://www.nuget.org/packages/yajl.v120.dyn-rt.static


Install
Install-Package yajl.v120.dyn-rt.static
dotnet add package yajl.v120.dyn-rt.static
paket add yajl.v120.dyn-rt.static
yajl.v120.dyn-rt.static Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

2894