public static String getJson(final Object objectNode) throws JsonProcessingException {
    return getJson(objectNode, true);
  }
Gets json.

@param objectNode the object node
@return the json
@throws JsonProcessingException the json processing exception
config/src/main/java/org/hyperledger/besu/config/JsonUtil.java