Macro get

Source
macro_rules! get {
    ($object:expr, $field_name:literal, $as_convert:ident, $error:path) => { ... };
    (@option[next] $object:expr, $field_name:literal, $next:expr, $error:path) => { ... };
    (@option $object:expr, $field_name:literal, $as_convert:ident, $error:path) => { ... };
    (@map[preserve - order] $object:expr, $field_name:literal, $as_convert:ident, $error:path) => { ... };
    (@mk_map $object:expr, $as_convert:ident, $error:path) => { ... };
}
Expand description

A helper macro for working with the (owned) simd_json::owned::Value.

This is mostly here to make the Value decoding code in the entities/ subdirectory easier.