Module json

Module json 

Source

Modules§

__internal_unstable_do_not_depend_on_these

Macros§

contains_each
Matches a JSON array that contains elements matched by the given matchers, in any order.
elements_are
Matches a JSON array with elements that satisfy the given matchers, in order.
is_contained_in
Matches a JSON array where every element matches one of the provided matchers.
matches_pattern
Matches a JSON object by specifying a pattern of key-value matchers, similar to GoogleTest’s matches_pattern! macro for Rust structs.
pat
Matches a JSON object by specifying a pattern of key-value matchers, similar to GoogleTest’s matches_pattern! macro for Rust structs.
primitive
Matches a JSON value (string, number, or boolean) against the given matcher.
unordered_elements_are
Matches a JSON array whose elements, in any order, have a 1:1 correspondence with the provided matchers.
valueDeprecated
Matches a JSON value (string, number, or boolean) against the given matcher.

Functions§

any_value
is_null