pub(crate) fn write_message(
msg: &DynamicMessage,
level: usize,
out: &mut String,
)Expand description
Appends msg as a JSON object at nesting level, following the field
rules of message_to_json; a message with no printable fields is {}.