validate static method
Throws FormatException if value is not JSON-safe.
Implementation
static void validate(Object? value) {
_validate(value, path: r'$');
}
Throws FormatException if value is not JSON-safe.
static void validate(Object? value) {
_validate(value, path: r'$');
}