Skip to main content

struct_to_json

Function struct_to_json 

Source
pub fn struct_to_json(value: &Struct) -> Value
Expand description

Convert an open-ended Struct into a serde_json::Value (always a JSON object). Use it to read facets / data / fields / events without touching buffa types directly.