Skip to content

Release 2.0.0

Compare
Choose a tag to compare
@codeniko codeniko released this 19 Jun 00:29
· 16 commits to master since this release

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/