(config: &prost_types::Struct)
| 20 | /// Convert a protobuf Struct into a JSON value for typed serde decoding. |
| 21 | #[must_use] |
| 22 | pub fn struct_to_json_value(config: &prost_types::Struct) -> serde_json::Value { |
| 23 | serde_json::Value::Object(struct_to_json_object(config)) |
| 24 | } |
| 25 | |
| 26 | /// Convert a protobuf Value into a JSON value for typed serde decoding. |
| 27 | #[must_use] |
no test coverage detected