Serialize to a JSON `Vec `
(&self)
| 385 | |
| 386 | /// Serialize to a JSON `Vec<u8>` |
| 387 | pub fn json_bytes(&self) -> Vec<u8> { |
| 388 | serde_json::to_vec(self).unwrap() |
| 389 | } |
| 390 | |
| 391 | /// Serialize to a JSON `String` |
| 392 | pub fn json_string(&self) -> String { |
no outgoing calls
no test coverage detected