add in a raw flag in the command to json (#555)

* add in the method to_string_raw

* add in a raw flag to json

* add in a test
This commit is contained in:
Michael Angerman
2021-12-22 11:56:49 -08:00
committed by GitHub
parent 061c822c5d
commit 5d3b63fa90
4 changed files with 50 additions and 3 deletions

View File

@ -2,7 +2,7 @@ pub use self::de::{
from_iter, from_reader, from_slice, from_str, Deserializer, StreamDeserializer,
};
pub use self::error::{Error, ErrorCode, Result};
pub use self::ser::{to_string, to_vec, to_writer, Serializer};
pub use self::ser::{to_string, to_string_raw, to_vec, to_writer, Serializer};
pub use self::value::{from_value, to_value, Map, Value};
pub mod builder;