Skip to main content

test_json

Macro test_json 

Source
macro_rules! test_json {
    ($($json:tt)+) => { ... };
}
Expand description

A macro that wraps serde_json::json! but allows bypassing clippy::disallowed_methods.

This macro should only be used in test code.