Skip to main content

decode_value

Function decode_value 

Source
pub fn decode_value(text: &str) -> Option<Value>
Expand description

Parse text into a serde_json::Value using the same size-based simd switching as decode_frame. For exchanges (e.g. kalshi) that dispatch on a field inside a loosely typed Value rather than deserialising into a bespoke RawWsMessage struct.