pub fn write_json_string<E: Copy>( output: &mut [u8], len: &mut usize, value: &str, error: E, ) -> Result<(), E>
Writes a complete JSON string with surrounding quotes.