Skip to content

JSON serialization/deserialization (full-featured, modern, streaming, direct into struct/enum)

License

Notifications You must be signed in to change notification settings

jeremiah-shaulov/nop-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nop-json

Documentation crates.io

This is full-featured modern JSON implementation according to ECMA-404 standard.

This crate allows deserialization of JSON Iterator<u8> stream into primitive types (bool, i32, etc.), Strings and any other types that implement special trait called TryFromJson, which can be implemented automatically through #[derive(TryFromJson)] for your structs and enums.

And serialization back to JSON through DebugToJson trait, that acts like Debug, allowing to print your objects with println!() and such. Or through WriteToJson trait that allows to write to a io::Write stream.

This crate allows to read whitespece-separated JSON values from stream in sequence. It also allows to pipe blob strings to a writer.

Documentation

Read on crates.io

About

JSON serialization/deserialization (full-featured, modern, streaming, direct into struct/enum)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages