The ExistValue method determines if a name represented by a JSONPath-formatted string exists in a JSON instance.
ExistValue determines if the name specified by JSONPath_expr exists in the JSON instance specified by JSON_expr.
Condition | Return Value |
---|---|
JSON_expr is null. | NULL |
Name specified by JSONPath_expr found one or more times in JSON instance. | 1 |
Name specified by JSONPath_expr not found in JSON instance. | 0 |