JSON-Simd

Fast JSON parsing using bindings to C++ and simdjson

JSON::Simd

Parsing JSON as fast as possible in Raku using simdjson. This library is around 3.3x faster than JSON::Tiny and about on par with JSON::Fast, but, as time goes on I think this dist should perform better (once I get around to using more nqp).

How to install

Latest nightly

zef install -v https://github.com/rawleyfowler/JSON-Simd.git

Latest stable

zef install JSON-Simd

How to use

Simply provide any JSON string

use JSON::Simd;

my @users = JSON::Simd::parse('[ { "name": "bob" }, { "name": "kenny" } ]');
@users[0].say; # { name => bob }

License

This project is bundled along-side simdjson which is provided under the Apache-2.0 License. That includes all directories under cc/lib/simdjson. The rest of the code is provided under the Artistic-2.0 License, the same license as Raku.

JSON-Simd v0.0.1

Fast JSON parsing using bindings to C++ and simdjson

Authors

  • Rawley Fowler

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • JSON::Simd

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.