Skip to main content

decode_json_string

Function decode_json_string 

Source
pub fn decode_json_string(
    encoded: impl AsRef<[u8]>,
    memory: &MemoryBudget,
    cancellation: &CancellationToken,
) -> Result<Budgeted<String>, JsonReadError>
Expand description

Decode one quoted JSON string under a shared allowance, retaining its actual destination capacity.