Skip to main content

split_tuple

Function split_tuple 

Source
pub fn split_tuple(value: &Value) -> (Value, Option<Map<String, Value>>)
Expand description

Splits a wire value into the value and the metadata of a synthesized field.

A value that is not a tuple is returned as it is, with no metadata, which is what a field the snapshot has not seen looks like.