Skip to main content

append_json_item

Function append_json_item 

Source
pub fn append_json_item(
    buffer: &mut String,
    json_item: &str,
    first: &mut bool,
) -> bool
Expand description

Appends one serialized item to a JSON array under construction.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::json_commands::append_json_item holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::append_json_item(&mut [], todo!(), todo!());