-
Notifications
You must be signed in to change notification settings - Fork 0
Supported Paths
Shuzhao Feng edited this page Oct 20, 2023
·
1 revision
Below is a collection of JsonPathSerializer supported paths syntax, grouped by the version where they start to be supported.
- Index values:
- Mix of index and span values. E.g.
$.path[0,1:3,4:]
- Mix of index and span values. E.g.
- Index values:
- Span values:
- Open-start span values. E.g.
$.path[1:] - Open-end span values. E.g.
$.path[:3] - Closed span values. E.g.
$.path[1:3]
- Open-start span values. E.g.
- Span values:
- Property values:
- Dot notation. E.g.
$.path.to.location - Bracket notation. E.g.
$['path']['to']['location'] - Mixed notation. E.g.
$.path['to'].location
- Dot notation. E.g.
- Index values:
- Single value. E.g.
$.path[0] - Multiple values. E.g.
$.path[0,1,2]
- Single value. E.g.