jutils

Crates.iojutils
lib.rsjutils
version0.1.2
sourcesrc
created_at2022-05-17 00:38:36.279491
updated_at2022-05-17 15:19:26.12209
descriptionJSON Utilities for Rust
homepage
repositoryhttps://github.com/tidwall/jutils
max_upload_size
id588045
size4,824
Josh Baker (tidwall)

documentation

https://docs.rs/jutils/

README

jutils

license crates.io version documentation

JSON utilities for Rust.

Right now there are two utilities

  • extend_json_str: Extends a Vec<u8> with a valid JSON String.
  • extend_json_str_fragment: Extends a Vec<u8> with a valid JSON String, but without the surrounding quotes.

For example:

use jutils:*

my_json.extend_json_str("hello world");

Which adds "hello world" to the my_json vector.

More to come. Stay tuned to this channel...

Commit count: 4

cargo fmt