Unlike some other languages Java does not have a native understanding of JSON. To enable JSON to be used easily
in Vert.x code we use this class to encapsulate the notion of a JSON object.
The implementation adheres to the RFC-7493 to support Temporal
data types as well as binary data.

getBinary

JSON itself has no notion of a binary, this extension complies to the RFC-7493, so this method assumes there is a
String value with the key and it contains a Base64 encoded binary, which it decodes if found and returns.

getInstant

JSON itself has no notion of a temporal types, this extension complies to the RFC-7493, so this method assumes
there is a String value with the key and it contains an ISO 8601 encoded date and time format
such as "2017-04-03T10:25:41Z", which it decodes if found and returns.

mergeIn

Merge in another JSON object.
A deep merge (recursive) matches (sub) JSON objects in the existing tree and replaces all
matching entries. JsonArrays are treated like any other entry, i.e. replaced entirely.

Parameters:

other - the other JSON object

deep - if true, a deep merge is performed

Returns:

a reference to this, so the API can be used fluently

mergeIn

Merge in another JSON object.
The merge is deep (recursive) to the specified level. If depth is 0, no merge is performed,
if depth is greater than the depth of one of the objects, a full deep merge is performed.