Skip to content

Releases: codeniko/JsonPathKt

Release 2.0.1

23 Sep 00:07
Compare
Choose a tag to compare

Release 2.0.0

19 Jun 00:29
Compare
Choose a tag to compare

Changes

  • Renamed project to JsonPathKt
  • Moved to Jackson, removed org.json which allows us to preserve object key order
  • Renamed parseOrNull to parse. 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 of null 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

15 Mar 04:31
Compare
Choose a tag to compare

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

13 Mar 17:45
Compare
Choose a tag to compare
correctly sign artifacts

SNAPSHOT release

12 Mar 07:28
Compare
Choose a tag to compare
SNAPSHOT release Pre-release
Pre-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'
}