pub fn serialize_json_array<'data, Output: StringWrite>(
output: &mut Output,
fields: &[JsonValue<'data>],
resume_from: usize,
) -> Result<usize, (usize, Output::StringWriteFailure)>Expand description
the core function that powers serialization in the JsonArray API. It attempts to serialize the provided values as a JSON array into the provided output & returns the number of bytes written on success.