Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

Share JSON Codec Reference

Encode and decode Share frames with nlohmann JSON; supply your own framing and delivery.

APIs

APIDescription
toJsonConvert a Share Value to a JSON value.
fromJsonConvert a JSON value to the corresponding Share Value variant.
argusEventToJsonEncode ARGUS event fields as a JSON object.
argusEventFromJsonRead ARGUS event fields from a JSON object.
argusQueryToJsonEncode ARGUS query filters as a JSON object.
argusQueryFromJsonRead ARGUS query filters from a JSON object.
encodeRequestEncode a versioned request frame with the caller-supplied correlation ID.
decodeRequestDecode a supported version-4 request frame.
encodeResponseEncode a response using the original request type and correlation ID.
decodeResponseDecode a supported version-4 response frame.
encodeTelemetryEncode a one-way telemetry frame without request correlation.
decodeTelemetryDecode supported channel, fixed-generation, or ARGUS telemetry.
encodeControlEncode a Hello, capabilities, Goodbye, or session identity control frame.
decodeControlDecode a supported control frame.
deliveryRead the frame delivery discriminator; returns an empty string when the field is absent.
requestIdRead the frame correlation ID; returns an empty string when the field is absent.