macro_rules! value {
( null ) => { ... };
( [$( $token:tt )*] ) => { ... };
( {$( $token:tt )*} ) => { ... };
{ $value:expr } => { ... };
}
Expand description
Helper crate for converting types into JsonValue
. It’s used
internally by the object!
and array!
macros.