Skip to main content

from_text

Function from_text 

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

Parse YAML-or-JSON text into a JSON value (JSON is valid YAML, but JSON is tried first for exactness).