pub fn jsonpath_parse(
text: &str,
soft: bool,
regex: RegexCheck<'_>,
) -> Result<JsonPath, TypeError>Expand description
jsonpath_in: a path from its text. soft is true for the soft input of pg_input_is_valid, and regex checks the pattern of like_regex.
ยงErrors
42601 and 22P02 for text that is not a path, 22P05 for \u0000, 0A000 for the flag x, 2201B for a pattern that is not valid, 22003 for a number that is too large and 54001 for a path that is too deep. The last two are hard errors in PostgreSQL.