pub fn from_slice_with_settings<T: de::DeserializeOwned>(buf: &[u8], settings: &Settings) -> sje::Result<T> {
    let shared = Arc::new(Shared::new(settings));
    let _shared_stack = SharedStack::push(shared.clone());
    // NOTE:  Our use of from_reader forces us to use DeserializeOwned
    serde_json::from_reader(Reader::new(buf, shared))
}
/// Read json from a slice of in-memory bytes, with explicit [Settings]
Read json from a slice of in-memory bytes, with explicit [Settings]
Read json from a slice of in - memory bytes with explicit [ Settings ]
pub fn from_slice_with_settings<T: de::DeserializeOwned>(buf: &[u8], settings: &Settings) -> sje::Result<T> {
    let shared = Arc::new(Shared::new(settings));
    let _shared_stack = SharedStack::push(shared.clone());
    // NOTE:  Our use of from_reader forces us to use DeserializeOwned
    serde_json::from_reader(Reader::new(buf, shared))
}
pub fn from_slice_with_settings < T : de :: DeserializeOwned > ( buf : & [ u8 ] , settings : & Settings ) -> sje :: Result < T > { let shared = Arc :: new ( Shared :: new ( settings ) ) ; let _shared_stack = SharedStack :: push ( shared . clone ( ) ) ; // NOTE:  Our use of from_reader forces us to use DeserializeOwned serde_json :: from_reader ( Reader :: new ( buf , shared ) ) }
Read json from a slice of in-memory bytes, with explicit [Settings]
Read json from a slice of in - memory bytes with explicit [ Settings ]
buf
&[u8]
settings
&Settings
buf
&[u8]
settings
&Settings