Skip to main content

finish_json_array

Function finish_json_array 

Source
pub fn finish_json_array(buffer: &mut String, first: bool) -> Option<String>
Expand description

Completes a JSON array under construction.

§Parameters

§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!());