Skip to main content

parse_turtle_input

Function parse_turtle_input 

Source
pub fn parse_turtle_input(value: Value) -> Result<Transaction>
Expand description

Parse legacy patch JSON (array) or { "transaction": { ... } } envelope.

Envelope changes may be either raw Turtle ops (documented wire format) or tagged SemanticChange values. Rejects envelopes whose changes are not Turtle.