Skip to content

v2.1.0

Latest
Compare
Choose a tag to compare
@leadpony leadpony released this 23 Jan 16:00
· 1 commit to master since this release

2.1.0 - 2021-01-24

Changed

  • JsonPointer.add() now can replace the value at root location with given array/object, regardless of the original type. This is a requirement from the TCK. (Issue #7 reported by @Thihup)

Fixed

  • JsonObject.getBoolean() and JsonObject.isNull() now correctly throws NPE if there exists no property for the specified key. (PR #12, #13 both are authored by @Thihup)
  • JsonParserFactory.createParser(InputStream) now correctly throws JsonException if character encoding cannot be determined automatically. (Issue #10 reported by @Thihup)
  • Fixed a bug that was causing JSON Patch move operation on nonexistent value not to throw JsonException, if the source path is the same as the target path. (Issue #11 reported by @Thihup)