Releases: codeniko/JsonPathKt
Releases · codeniko/JsonPathKt
Release 2.0.1
Changes
- update jackson to 2.13.1
Artifacts
https://oss.sonatype.org/content/groups/public/com/nfeld/jsonpathkt/jsonpathkt/2.0.1/
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/
Release v1.1.0
Changes
- Added an LRU cache to cache compiled path tokens
- Added a CacheProvider to easily disable cache or for clients to implement own cache
- Fixed bug where JSONArray results accumulate if you reuse JsonPaths (reuses same compiled tokens with result held on across reads)
Artifacts
https://oss.sonatype.org/content/groups/public/com/nfeld/jsonpathlite/json-path-lite/1.1.0/
Release v1.0.0
correctly sign artifacts
SNAPSHOT release
This is a SNAPSHOT release. To pull in, add repository
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/groups/public" } // for snapshot builds
}
dependencies {
implementation 'com.nfeld.jsonpathlite:json-path-lite:1.0.0-SNAPSHOT'
}