pub fn finish_json_array(buffer: &mut String, first: bool) -> Option<String>Expand description
Completes a JSON array under construction.
§Parameters
buffer: Input consumed bycrate::runtime::json_commands::finish_json_array.first: Input consumed bycrate::runtime::json_commands::finish_json_array.
§Returns
Returns Some when crate::runtime::json_commands::finish_json_array can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::finish_json_array(&mut [], todo!());§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.