Skip to main content

json_object_string_json

Function json_object_string_json 

Source
pub fn json_object_string_json(
    value: &Value,
    key: &str,
    fallback: &str,
) -> String
Expand description

Serializes an object string field with a plain-string fallback.

§Parameters

§Returns

Returns the computed value produced by crate::runtime::json_commands::json_object_string_json.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::json_object_string_json("value", "key", todo!());