loads_with_namespaces

Function loads_with_namespaces 

Source
pub fn loads_with_namespaces(
    text: &str,
    namespaces: Vec<String>,
) -> Result<Value>
Expand description

Load with additional valid namespaces.

Convenience function that creates a ReviverConfig with additional namespaces.

§Arguments

  • text - The JSON string to parse and revive.
  • namespaces - Additional namespaces to allow.

§Returns

The revived value.