Skip to main content

json_from_value

Function json_from_value 

Source
pub fn json_from_value(value: &NeoValue) -> Option<Value>
Expand description

Extracts JSON from a NeoValue containing a ByteString.

ยงReturns

  • Some(JsonValue) if the value is a ByteString containing valid JSON
  • None otherwise