Skip to content

Latest commit

 

History

History
100 lines (66 loc) · 2.67 KB

VERSION.md

File metadata and controls

100 lines (66 loc) · 2.67 KB

BoxedJson

Version History

0.5.32

  • Fix: infinite recursion in BoxedJson.of() calls when passed value is already a valid boxed json value.

0.5.30

  • Fix: missing mutable wrapper for JsonObject and JsonArray when creating boxed versions for some calls.

0.5.28

  • Add: BoxedJson.objectFrom(...) and BoxedJson.arrayFrom(...)
  • Add: MutableJson.objectFrom(...) and MutableJson.arrayFrom(...)
  • Deprecate: BoxedJson.from(...) in favour of objectFrom(...)
  • Deprecate: MutableJson.from(...) in favour of objectFrom(...)

0.5.26

  • Fix: MutableJsArray add(int, *) versions of methods to use add(int,JsValue) instead of set(int,JsValue)
  • Fix: BoxedJsArray add(int, *) versions of methods to use add(int,JsValue) instead of set(int,JsValue)
  • Add: add() methods to BoxedJsArray

0.5.24

  • Fix: add deep null to JsonValue.NULL replacement for MutableJsArray and MutableJsObject toString() calls to eliminate null pointer exceptions on toString().
  • Add: MutableJsObject.replaceAllToMutable() to perform deep null to JsonValue.NULL and JsonObject/JsonArray to mutable counterparts.

0.5.22

  • Fix: add null to JsonValue.NULL replacement for MutableJsArray and MutableJsObject toString() calls.

0.5.20

  • Fix: substitute JsonValue.NULL for null passed to MutableJsArray set item and MutableJsObject put item variants

0.5.18

  • Fix: bump up javax/json to 1.1.4

0.5.16

  • Fix: add missing MutableJsArray add() by Java type.

0.5.14

  • Fix: add constructor for Map<String, JsonValue> to MutableJsObject()

0.5.12

  • Fix: add constructor for List<? extends JsonValue> MutableJsArray(JsonArray) constructor

0.5.10

  • Fix: add missing public keyword on MutableJsArray(JsonArray) constructor

0.5.8

  • Add: MutableJson.copyOf(JsonValue) and BoxedJson.copyOf(JsonValue) methods to make deep copies of passed in values.
  • Add: float versions of methods where double was available
  • Add: isTrue(boolean defaultValue) and isFalse(boolean defaultValue) to allow specifying a default value if the BoxedJsValue object is invalid.
  • Add: methods for eval of specific types that take default values if the result of eval is invalid. ie. evalInt(String) now also evalInt(String, int), same for other eval types

0.5.6

  • First working maven version