yajl.v120.dyn-rt.static
2.1.1
dotnet add package yajl.v120.dyn-rt.static --version 2.1.1
NuGet\Install-Package yajl.v120.dyn-rt.static -Version 2.1.1
<PackageReference Include="yajl.v120.dyn-rt.static" Version="2.1.1" />
paket add yajl.v120.dyn-rt.static --version 2.1.1
#r "nuget: yajl.v120.dyn-rt.static, 2.1.1"
// Install yajl.v120.dyn-rt.static as a Cake Addin
#addin nuget:?package=yajl.v120.dyn-rt.static&version=2.1.1
// Install yajl.v120.dyn-rt.static as a Cake Tool
#tool nuget:?package=yajl.v120.dyn-rt.static&version=2.1.1
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
native | native is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|
First release