pub fn new_writer<W: Write + Sync + Send + 'static>(w: W) -> Box<dyn Writer>
Creates a new Box<dyn Writer> instance with the JSONWriter for a given std::io::Write instance.
Box<dyn Writer>