Skip to main content

JSON_FIELDS

Constant JSON_FIELDS 

Source
pub const JSON_FIELDS: &[JsonField];
Expand description

Every field of the JSON format, by its path, in the order the report writes the members of each object (“Observation report fields”).

An object holds only some of its fields when its kind says so: an outcome has code, signal or error, a process’s exit has code or signal, and a connection has address, path or name. Every other field is always present, null when it has no value.