Skip to main content

append_json_string_item

Function append_json_string_item 

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

Serializes and appends one string item to a JSON array under construction.

§Parameters

§Returns

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

§Examples

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