The Wayback Machine - http://web.archive.org/web/20200918232358/https://github.com/niXman/flatjson
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Build Status

flatjson

The header-only implementation of extremely fast just one allocation and zero copy JSON parser

Example

const char *jsstr = R"({"a":true, "b":null})";
flatjson::fjson json{jsstr};
assert(json.is_valid());
assert(json.is_object());
assert(json.size() == 2);

auto a = json.at("a");
assert(a.is_bool());
assert(a.to_bool() == true);

auto b = json.at("b");
assert(b.is_null());

About

Extremely fast just one allocation and zero copy JSON parser

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.