Skip to main content

json_literal

Function json_literal 

Source
pub fn json_literal(value: &str) -> String
Expand description

Returns a JSON literal string, preserving the caller-supplied literal text.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::json_literal("value");