Skip to main content

json_or_string

Function json_or_string 

Source
pub fn json_or_string(text: String) -> Value
Expand description

Parses text as JSON, falling back to the string itself: 8080 is a number, foo is "foo".