- Fix: infinite recursion in BoxedJson.of() calls when passed value is already a valid boxed json value.
- Fix: missing mutable wrapper for
JsonObject
andJsonArray
when creating boxed versions for some calls.
- Add:
BoxedJson.objectFrom(...)
andBoxedJson.arrayFrom(...)
- Add:
MutableJson.objectFrom(...)
andMutableJson.arrayFrom(...)
- Deprecate:
BoxedJson.from(...)
in favour ofobjectFrom(...)
- Deprecate:
MutableJson.from(...)
in favour ofobjectFrom(...)
- Fix:
MutableJsArray
add(int, *)
versions of methods to useadd(int,JsValue)
instead ofset(int,JsValue)
- Fix:
BoxedJsArray
add(int, *)
versions of methods to useadd(int,JsValue)
instead ofset(int,JsValue)
- Add:
add()
methods toBoxedJsArray
- Fix: add deep
null
toJsonValue.NULL
replacement forMutableJsArray
andMutableJsObject
toString()
calls to eliminate null pointer exceptions ontoString()
. - Add:
MutableJsObject.replaceAllToMutable()
to perform deep null to JsonValue.NULL and JsonObject/JsonArray to mutable counterparts.
- Fix: add
null
toJsonValue.NULL
replacement forMutableJsArray
andMutableJsObject
toString()
calls.
- Fix: substitute
JsonValue.NULL
fornull
passed toMutableJsArray
set item andMutableJsObject
put item variants
- Fix: bump up javax/json to 1.1.4
- Fix: add missing MutableJsArray
add()
by Java type.
- Fix: add constructor for
Map<String, JsonValue>
toMutableJsObject()
- Fix: add constructor for
List<? extends JsonValue>
MutableJsArray(JsonArray)
constructor
- Fix: add missing public keyword on
MutableJsArray(JsonArray)
constructor
- Add:
MutableJson.copyOf(JsonValue)
andBoxedJson.copyOf(JsonValue)
methods to make deep copies of passed in values. - Add:
float
versions of methods wheredouble
was available - Add:
isTrue(boolean defaultValue)
andisFalse(boolean defaultValue)
to allow specifying a default value if theBoxedJsValue
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 alsoevalInt(String, int)
, same for other eval types
- First working maven version