Module span_json

Module span_json 

Source
Expand description

JSON serialization for ResourceSpan.

Since grafos-observe types do not derive serde traits (to keep the core no_std-friendly), this module provides a mirror struct SpanJson that implements Serialize/Deserialize and converts to/from ResourceSpan.

Structsยง

OpJson
JSON-serializable operation count entry.
SpanJson
JSON-serializable mirror of ResourceSpan.