Skip to main content

is_json

Function is_json 

Source
pub fn is_json(
    value: &str,
    base_type: u32,
    item: JsonItemType,
    unique: bool,
) -> bool
Expand description

ExecEvalJsonIsPredicate: true when the value is JSON of the kind of the predicate. base_type is text, json or jsonb. The first token of a text or a json value gives its kind, and only a text value or a check of the keys parses all of the value.