Release 2.0.0
Changes
- Renamed project to JsonPathKt
- Moved to Jackson, removed org.json which allows us to preserve object key order
- Renamed
parseOrNull
toparse
. There is no more parse option that throws. If parsing fails, you get null. - Added
[:]
- Added wildcard
[*]
and.*
- Added recursive wildcard,
..*
- Change output of ranges like
[1:3]
and['a','b','c']
on objects to return[]
instead ofnull
for consistency - Root
$
symbol is now optional - Double quotes like
$["key"]
and$["a","b","c"]
are now supported - Can now get single characters of a String with an index type selector like
[0]
and[0,1]
- Several other fixes and improvements
Artifacts
https://oss.sonatype.org/content/groups/public/com/nfeld/jsonpathkt/jsonpathkt/2.0.0/