Skip to main content

push_string

Function push_string 

Source
pub fn push_string(out: &mut Vec<u8>, s: &[u8]) -> bool
Expand description

Appends s as json_encode() writes a string without options, and says whether it could: PHP refuses one that is not UTF-8, and what is appended then is not JSON.