You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|__`==`__| Query and predicate value are equal |`jsonpath "$.book" == "Dune"`|
340
-
|__`!=`__| Query and predicate value are different |`jsonpath "$.color" != "red"`|
341
-
|__`>`__| Query number is greater than predicate value |`jsonpath "$.year" > 1978`|
342
-
|__`>=`__| Query number is greater than or equal to the predicate value |`jsonpath "$.year" >= 1978`|
343
-
|__`<`__| Query number is less than that predicate value |`jsonpath "$.year" < 1978`|
344
-
|__`<=`__| Query number is less than or equal to the predicate value |`jsonpath "$.year" <= 1978`|
345
-
|__`startsWith`__| Query starts with the predicate value<br>Value is string or a binary content |`jsonpath "$.movie" startsWith "The"`<br><br>`bytes startsWith hex,efbbbf;`|
346
-
|__`endsWith`__| Query ends with the predicate value<br>Value is string or a binary content |`jsonpath "$.movie" endsWith "Back"`<br><br>`bytes endsWith hex,ab23456;`|
347
-
|__`contains`__| Query contains the predicate value<br>Value is string or a binary content |`jsonpath "$.movie" contains "Empire"`<br><br>`bytes contains hex,beef;`|
348
-
|__`matches`__| Part of the query string matches the regex pattern described by the predicate value |`jsonpath "$.release" matches "\\d{4}"`<br><br>`jsonpath "$.release" matches /\d{4}/`|
349
-
|__`exists`__| Query returns a value |`jsonpath "$.book" exists`|
350
-
|__`isBoolean`__| Query returns a boolean |`jsonpath "$.succeeded" isBoolean`|
351
-
|__`isCollection`__| Query returns a collection |`jsonpath "$.books" isCollection`|
352
-
|__`isEmpty`__| Query returns an empty collection |`jsonpath "$.movies" isEmpty`|
353
-
|__`isFloat`__| Query returns a float |`jsonpath "$.height" isFloat`|
354
-
|__`isInteger`__| Query returns an integer |`jsonpath "$.count" isInteger`|
355
-
|__`isIsoDate`__| Query string returns a [RFC 3339] date (`YYYY-MM-DDTHH:mm:ss.sssZ`) |`jsonpath "$.publication_date" isIsoDate`|
356
-
|__`isNumber`__| Query returns an integer or a float |`jsonpath "$.count" isNumber`|
357
-
|__`isString`__| Query returns a string |`jsonpath "$.name" isString`|
358
-
|__`isIpv4`__| Query returns an IPv4 address |`ip isIpv4`|
359
-
|__`isIpv6`__| Query returns an IPv6 address |`ip isIpv6`|
|__`==`__| Query and predicate value are equal |`jsonpath "$.book" == "Dune"`|
401
+
|__`!=`__| Query and predicate value are different |`jsonpath "$.color" != "red"`|
402
+
|__`>`__| Query number is greater than predicate value |`jsonpath "$.year" > 1978`|
403
+
|__`>=`__| Query number is greater than or equal to the predicate value |`jsonpath "$.year" >= 1978`|
404
+
|__`<`__| Query number is less than that predicate value |`jsonpath "$.year" < 1978`|
405
+
|__`<=`__| Query number is less than or equal to the predicate value |`jsonpath "$.year" <= 1978`|
406
+
|__`startsWith`__| Query starts with the predicate value<br>Value is string or a binary content |`jsonpath "$.movie" startsWith "The"`<br><br>`bytes startsWith hex,efbbbf;`|
407
+
|__`endsWith`__| Query ends with the predicate value<br>Value is string or a binary content |`jsonpath "$.movie" endsWith "Back"`<br><br>`bytes endsWith hex,ab23456;`|
408
+
|__`contains`__| If query returns a collection of string or numbers, query collection includes the predicate value (string or number)<br>If query returns a string or a binary content, query contains the predicate value (string or bytes) |`jsonpath "$.movie" contains "Empire"`<br><br>`bytes contains hex,beef;`<br><br>`jsonpath "$.numbers" contains 42`|
409
+
|__`matches`__| Part of the query string matches the regex pattern described by the predicate value |`jsonpath "$.release" matches "\\d{4}"`<br><br>`jsonpath "$.release" matches /\d{4}/`|
410
+
|__`exists`__| Query returns a value |`jsonpath "$.book" exists`|
411
+
|__`isBoolean`__| Query returns a boolean |`jsonpath "$.succeeded" isBoolean`|
412
+
|__`isCollection`__| Query returns a collection |`jsonpath "$.books" isCollection`|
413
+
|__`isEmpty`__| Query returns an empty collection |`jsonpath "$.movies" isEmpty`|
414
+
|__`isFloat`__| Query returns a float |`jsonpath "$.height" isFloat`|
415
+
|__`isInteger`__| Query returns an integer |`jsonpath "$.count" isInteger`|
416
+
|__`isIsoDate`__| Query string returns a [RFC 3339] date (`YYYY-MM-DDTHH:mm:ss.sssZ`) |`jsonpath "$.publication_date" isIsoDate`|
417
+
|__`isNumber`__| Query returns an integer or a float |`jsonpath "$.count" isNumber`|
418
+
|__`isString`__| Query returns a string |`jsonpath "$.name" isString`|
419
+
|__`isIpv4`__| Query returns an IPv4 address |`ip isIpv4`|
420
+
|__`isIpv6`__| Query returns an IPv6 address |`ip isIpv6`|
421
+
422
+
Query contains the predicate value if query returns a collection of string or numbers<br>
423
+
Query
424
+
360
425
361
426
362
427
Each predicate can be negated by prefixing it with `not` (for instance, `not contains` or `not exists`)
0 commit comments