Skip to main content

from_json_str_unbounded

Function from_json_str_unbounded 

Source
pub fn from_json_str_unbounded<'de, T: Deserialize<'de>>(
    s: &'de str,
) -> Result<T>
Expand description

Parse JSON text with serde_json’s recursion limit disabled. Every internal reparse of RawNode text must go through this: the napi entrypoint deserializes arbitrarily deep ASTs with the limit disabled (on a 64MB stack), and the tolerant statement path’s reparses must not quietly reintroduce the default limit.