test_class.declarator: KEY_PREFIX = "prefix"
test_class.modifier: static final
test_class.original_string: static final String KEY_PREFIX = "prefix";
test_class.type: String
test_class.var_name: KEY_PREFIX
test_class.declarator: KEY_URI = "uri"
test_class.modifier: static final
test_class.original_string: static final String KEY_URI = "uri";
test_class.type: String
test_class.var_name: KEY_URI
test_class.file: api/src/test/java/net/adamcin/oakpal/api/JavaxJsonTest.java
test_class.identifier: JavaxJsonTest
test_case.body: @Test
      public void testWrap() {
          assertSame("null is JsonObject.NULL", JsonObject.NULL, wrap(null));
          assertSame("same true", JsonObject.TRUE, wrap(true));
          assertSame("same false", JsonObject.FALSE, wrap(false));
          final JsonValue value = Json.createArrayBuilder().add("foo").build().get(0);
          assertSame("same value", value, wrap(value));
          assertEquals("equal string value", value, wrap("foo"));
          final JsonObject object = key("foo", "bar").get();
          final JsonObjectConvertible objectible = () -> object;
          assertSame("same value", object, wrap(objectible));
          final JsonArray array = arr().val("foo1").val("foo2").val("foo3").get();
          final JsonArrayConvertible arrayable = () -> array;
          assertSame("same value", array, wrap(arrayable));
          final Calendar now = Calendar.getInstance();
          assertEquals("same date", wrap(ISO8601.format(now)), wrap(now));
  
          assertEquals("same int",
                  10, ((JsonNumber) wrap(10)).intValue());
          assertEquals("same long",
                  Integer.MAX_VALUE + 1L, ((JsonNumber) wrap(Integer.MAX_VALUE + 1L)).longValue());
          assertEquals("same double",
                  42.0D, ((JsonNumber) wrap(42.0D)).doubleValue(), 1.0D);
  
          final BigInteger bigInteger = new BigInteger(Long.toString(Integer.MAX_VALUE + 1L));
          assertEquals("same bigint", bigInteger,
                  ((JsonNumber) wrap(bigInteger)).bigIntegerValue());
          final BigDecimal bigDecimal = new BigDecimal(Double.toString(Integer.MAX_VALUE + 1L));
          assertEquals("same bigd", bigDecimal,
                  ((JsonNumber) wrap(bigDecimal)).bigDecimalValue());
          final float fval = 4.0f;
          assertEquals("same float", Float.valueOf(fval).doubleValue(),
                  ((JsonNumber) wrap(fval)).doubleValue(), 1.0D);
  
          final String[] foos = {"foo"};
          assertEquals("strings should be wrapped inside of a JsonArray",
                  Json.createArrayBuilder().add("foo").build(), wrap(foos));
  
          assertEquals("ints should be wrapped inside of a JsonArray",
                  Json.createArrayBuilder().add(42).build(), wrap(new int[]{42}));
          assertEquals("longs should be wrapped inside of a JsonArray",
                  Json.createArrayBuilder().add(42L).build(), wrap(new long[]{42L}));
          assertEquals("doubles should be wrapped inside of a JsonArray",
                  Json.createArrayBuilder().add(42.0D).build(), wrap(new double[]{42.0D}));
          assertEquals("chars should be wrapped inside of a String",
                  Json.createArrayBuilder().add(String.valueOf(new char[]{'c', 'a', 't'})).build().get(0),
                  wrap(new char[]{'c', 'a', 't'}));
          final byte[] bytes = "foo".getBytes(StandardCharsets.UTF_8);
          final String bytesEncoded = Base64.getUrlEncoder().encodeToString(bytes);
          assertEquals("bytes should be Base64 encoded in a String",
                  Json.createArrayBuilder().add(bytesEncoded).build().get(0),
                  wrap(bytes));
  
          assertEquals("floats should be converted to doubles and wrapped inside of a JsonArray",
                  Json.createArrayBuilder().add(4.0D).build(), wrap(new float[]{4.0F}));
  
          assertEquals("booleans should be wrapped inside of a JsonArray",
                  Json.createArrayBuilder().add(true).build(), wrap(new boolean[]{true}));
  
          final String prefix = "foo";
          final String uri = "http://foo.com/1.0";
          final Map<Integer, JsonNamespace> convMap = Collections
                  .singletonMap(5, JsonNamespace.create(prefix, uri));
          assertEquals("convert map to json obj",
                  key("5", key(KEY_PREFIX, prefix).key(KEY_URI, uri)).get(), wrap(convMap));
  
          final List<String> ordinals = Arrays.asList("one", "two", "three");
          assertEquals("collection to json array of wrapped elements",
                  Json.createArrayBuilder().add("one").add("two").add("three").build(),
                  wrap(ordinals));
  
          final String otherwiseString = "justAString";
          final Object otherwise = new Object() {
              @Override
              public String toString() {
                  return otherwiseString;
              }
          };
          assertEquals("otherwise, just toString the object to a json string",
                  Json.createArrayBuilder().add(otherwiseString).build().get(0),
                  wrap(otherwise));
      }
test_case.class_method_signature: JavaxJsonTest.testWrap()
test_case.full_signature: @Test public void testWrap()
test_case.identifier: testWrap
test_case.invocations: assertSame wrap assertSame wrap assertSame wrap get build add createArrayBuilder assertSame wrap assertEquals wrap get key assertSame wrap get val val val arr assertSame wrap getInstance assertEquals wrap format wrap assertEquals intValue wrap assertEquals longValue wrap assertEquals doubleValue wrap toString assertEquals bigIntegerValue wrap toString assertEquals bigDecimalValue wrap assertEquals doubleValue valueOf doubleValue wrap assertEquals build add createArrayBuilder wrap assertEquals build add createArrayBuilder wrap assertEquals build add createArrayBuilder wrap assertEquals build add createArrayBuilder wrap assertEquals get build add createArrayBuilder valueOf wrap getBytes encodeToString getUrlEncoder assertEquals get build add createArrayBuilder wrap assertEquals build add createArrayBuilder wrap assertEquals build add createArrayBuilder wrap singletonMap create assertEquals get key key key wrap asList assertEquals build add add add createArrayBuilder wrap assertEquals get build add createArrayBuilder wrap
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testWrap()
focal_class.declarator: JSON_VALUE_STRING = compose1(JavaxJson::unwrap, Object::toString)
focal_class.modifier: @SuppressWarnings("WeakerAccess")
      public static final
focal_class.original_string: @SuppressWarnings("WeakerAccess")
      public static final Function<JsonValue, String> JSON_VALUE_STRING = compose1(JavaxJson::unwrap, Object::toString);
focal_class.type: Function<JsonValue, String>
focal_class.var_name: JSON_VALUE_STRING
focal_class.file: api/src/main/java/net/adamcin/oakpal/api/JavaxJson.java
focal_class.identifier: JavaxJson
focal_class.class_method_signature: JavaxJson.JavaxJson()
focal_class.full_signature: private  JavaxJson()
focal_class.identifier: JavaxJson
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  JavaxJson()
focal_class.class_method_signature: JavaxJson.nonEmptyValue(final @Nullable JsonValue value)
focal_class.full_signature: public static boolean nonEmptyValue(final @Nullable JsonValue value)
focal_class.identifier: nonEmptyValue
focal_class.modifiers: public static
focal_class.parameters: (final @Nullable JsonValue value)
focal_class.return: boolean
focal_class.signature: boolean nonEmptyValue(final @Nullable JsonValue value)
focal_class.class_method_signature: JavaxJson.nonDefaultValue(final @Nullable JsonValue value, final @NotNull JsonValue defaultValue)
focal_class.full_signature: public static boolean nonDefaultValue(final @Nullable JsonValue value, final @NotNull JsonValue defaultValue)
focal_class.identifier: nonDefaultValue
focal_class.modifiers: public static
focal_class.parameters: (final @Nullable JsonValue value, final @NotNull JsonValue defaultValue)
focal_class.return: boolean
focal_class.signature: boolean nonDefaultValue(final @Nullable JsonValue value, final @NotNull JsonValue defaultValue)
focal_class.class_method_signature: JavaxJson.wrap(final Object object)
focal_class.full_signature: public static JsonValue wrap(final Object object)
focal_class.identifier: wrap
focal_class.modifiers: public static
focal_class.parameters: (final Object object)
focal_class.return: JsonValue
focal_class.signature: JsonValue wrap(final Object object)
focal_class.class_method_signature: JavaxJson.unwrap(final JsonValue jsonValue)
focal_class.full_signature: @SuppressWarnings("WeakerAccess") public static Object unwrap(final JsonValue jsonValue)
focal_class.identifier: unwrap
focal_class.modifiers: @SuppressWarnings("WeakerAccess") public static
focal_class.parameters: (final JsonValue jsonValue)
focal_class.return: Object
focal_class.signature: Object unwrap(final JsonValue jsonValue)
focal_class.class_method_signature: JavaxJson.unwrapObject(final JsonObject jsonObject)
focal_class.full_signature: @SuppressWarnings("WeakerAccess") public static Map<String, Object> unwrapObject(final JsonObject jsonObject)
focal_class.identifier: unwrapObject
focal_class.modifiers: @SuppressWarnings("WeakerAccess") public static
focal_class.parameters: (final JsonObject jsonObject)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> unwrapObject(final JsonObject jsonObject)
focal_class.class_method_signature: JavaxJson.unwrapArray(final JsonArray jsonArray)
focal_class.full_signature: @SuppressWarnings("WeakerAccess") public static List<Object> unwrapArray(final JsonArray jsonArray)
focal_class.identifier: unwrapArray
focal_class.modifiers: @SuppressWarnings("WeakerAccess") public static
focal_class.parameters: (final JsonArray jsonArray)
focal_class.return: List<Object>
focal_class.signature: List<Object> unwrapArray(final JsonArray jsonArray)
focal_class.class_method_signature: JavaxJson.shallowMergeObjects(final @Nullable JsonObject base,
                                                            final @Nullable JsonObject overlay)
focal_class.full_signature: public static @NotNull JsonObject shallowMergeObjects(final @Nullable JsonObject base,
                                                            final @Nullable JsonObject overlay)
focal_class.identifier: shallowMergeObjects
focal_class.modifiers: public static @NotNull
focal_class.parameters: (final @Nullable JsonObject base,
                                                            final @Nullable JsonObject overlay)
focal_class.return: JsonObject
focal_class.signature: JsonObject shallowMergeObjects(final @Nullable JsonObject base,
                                                            final @Nullable JsonObject overlay)
focal_class.class_method_signature: JavaxJson.val(Object value)
focal_class.full_signature: public static Value val(Object value)
focal_class.identifier: val
focal_class.modifiers: public static
focal_class.parameters: (Object value)
focal_class.return: Value
focal_class.signature: Value val(Object value)
focal_class.class_method_signature: JavaxJson.obj(final Key... keys)
focal_class.full_signature: public static Obj obj(final Key... keys)
focal_class.identifier: obj
focal_class.modifiers: public static
focal_class.parameters: (final Key... keys)
focal_class.return: Obj
focal_class.signature: Obj obj(final Key... keys)
focal_class.class_method_signature: JavaxJson.obj(final JsonObject jsonObject)
focal_class.full_signature: public static Obj obj(final JsonObject jsonObject)
focal_class.identifier: obj
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject)
focal_class.return: Obj
focal_class.signature: Obj obj(final JsonObject jsonObject)
focal_class.class_method_signature: JavaxJson.obj(final Map<?, ?> map)
focal_class.full_signature: public static Obj obj(final Map<?, ?> map)
focal_class.identifier: obj
focal_class.modifiers: public static
focal_class.parameters: (final Map<?, ?> map)
focal_class.return: Obj
focal_class.signature: Obj obj(final Map<?, ?> map)
focal_class.class_method_signature: JavaxJson.key(final String key, final Object value)
focal_class.full_signature: public static Key key(final String key, final Object value)
focal_class.identifier: key
focal_class.modifiers: public static
focal_class.parameters: (final String key, final Object value)
focal_class.return: Key
focal_class.signature: Key key(final String key, final Object value)
focal_class.class_method_signature: JavaxJson.key(final String key)
focal_class.full_signature: public static KeyCursor key(final String key)
focal_class.identifier: key
focal_class.modifiers: public static
focal_class.parameters: (final String key)
focal_class.return: KeyCursor
focal_class.signature: KeyCursor key(final String key)
focal_class.class_method_signature: JavaxJson.arr(Object... values)
focal_class.full_signature: public static Arr arr(Object... values)
focal_class.identifier: arr
focal_class.modifiers: public static
focal_class.parameters: (Object... values)
focal_class.return: Arr
focal_class.signature: Arr arr(Object... values)
focal_class.class_method_signature: JavaxJson.optObject(final JsonObject json, final String key)
focal_class.full_signature: @SuppressWarnings("WeakerAccess") public static Optional<JsonObject> optObject(final JsonObject json, final String key)
focal_class.identifier: optObject
focal_class.modifiers: @SuppressWarnings("WeakerAccess") public static
focal_class.parameters: (final JsonObject json, final String key)
focal_class.return: Optional<JsonObject>
focal_class.signature: Optional<JsonObject> optObject(final JsonObject json, final String key)
focal_class.class_method_signature: JavaxJson.objectOrEmpty(final JsonObject json, final String key)
focal_class.full_signature: @SuppressWarnings("WeakerAccess") public static JsonObject objectOrEmpty(final JsonObject json, final String key)
focal_class.identifier: objectOrEmpty
focal_class.modifiers: @SuppressWarnings("WeakerAccess") public static
focal_class.parameters: (final JsonObject json, final String key)
focal_class.return: JsonObject
focal_class.signature: JsonObject objectOrEmpty(final JsonObject json, final String key)
focal_class.class_method_signature: JavaxJson.optArray(final JsonObject json, final String key)
focal_class.full_signature: @SuppressWarnings("WeakerAccess") public static Optional<JsonArray> optArray(final JsonObject json, final String key)
focal_class.identifier: optArray
focal_class.modifiers: @SuppressWarnings("WeakerAccess") public static
focal_class.parameters: (final JsonObject json, final String key)
focal_class.return: Optional<JsonArray>
focal_class.signature: Optional<JsonArray> optArray(final JsonObject json, final String key)
focal_class.class_method_signature: JavaxJson.arrayOrEmpty(final JsonObject json, final String key)
focal_class.full_signature: public static JsonArray arrayOrEmpty(final JsonObject json, final String key)
focal_class.identifier: arrayOrEmpty
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject json, final String key)
focal_class.return: JsonArray
focal_class.signature: JsonArray arrayOrEmpty(final JsonObject json, final String key)
focal_class.class_method_signature: JavaxJson.mapArrayOfStrings(final JsonArray jsonArray)
focal_class.full_signature: public static List<String> mapArrayOfStrings(final JsonArray jsonArray)
focal_class.identifier: mapArrayOfStrings
focal_class.modifiers: public static
focal_class.parameters: (final JsonArray jsonArray)
focal_class.return: List<String>
focal_class.signature: List<String> mapArrayOfStrings(final JsonArray jsonArray)
focal_class.class_method_signature: JavaxJson.mapArrayOfStrings(final JsonArray jsonArray,
                                                  final Function<String, R> mapFunction)
focal_class.full_signature: public static List<R> mapArrayOfStrings(final JsonArray jsonArray,
                                                  final Function<String, R> mapFunction)
focal_class.identifier: mapArrayOfStrings
focal_class.modifiers: public static
focal_class.parameters: (final JsonArray jsonArray,
                                                  final Function<String, R> mapFunction)
focal_class.return: List<R>
focal_class.signature: List<R> mapArrayOfStrings(final JsonArray jsonArray,
                                                  final Function<String, R> mapFunction)
focal_class.class_method_signature: JavaxJson.mapArrayOfStrings(final JsonArray jsonArray,
                                                  final Function<String, R> mapFunction,
                                                  final boolean discardNulls)
focal_class.full_signature: public static List<R> mapArrayOfStrings(final JsonArray jsonArray,
                                                  final Function<String, R> mapFunction,
                                                  final boolean discardNulls)
focal_class.identifier: mapArrayOfStrings
focal_class.modifiers: public static
focal_class.parameters: (final JsonArray jsonArray,
                                                  final Function<String, R> mapFunction,
                                                  final boolean discardNulls)
focal_class.return: List<R>
focal_class.signature: List<R> mapArrayOfStrings(final JsonArray jsonArray,
                                                  final Function<String, R> mapFunction,
                                                  final boolean discardNulls)
focal_class.class_method_signature: JavaxJson.mapArrayOfObjects(final JsonArray jsonArray,
                                                  final Function<JsonObject, R> mapFunction)
focal_class.full_signature: public static List<R> mapArrayOfObjects(final JsonArray jsonArray,
                                                  final Function<JsonObject, R> mapFunction)
focal_class.identifier: mapArrayOfObjects
focal_class.modifiers: public static
focal_class.parameters: (final JsonArray jsonArray,
                                                  final Function<JsonObject, R> mapFunction)
focal_class.return: List<R>
focal_class.signature: List<R> mapArrayOfObjects(final JsonArray jsonArray,
                                                  final Function<JsonObject, R> mapFunction)
focal_class.class_method_signature: JavaxJson.mapArrayOfObjects(final JsonArray jsonArray,
                                                  final Function<JsonObject, R> mapFunction,
                                                  final boolean discardNulls)
focal_class.full_signature: public static List<R> mapArrayOfObjects(final JsonArray jsonArray,
                                                  final Function<JsonObject, R> mapFunction,
                                                  final boolean discardNulls)
focal_class.identifier: mapArrayOfObjects
focal_class.modifiers: public static
focal_class.parameters: (final JsonArray jsonArray,
                                                  final Function<JsonObject, R> mapFunction,
                                                  final boolean discardNulls)
focal_class.return: List<R>
focal_class.signature: List<R> mapArrayOfObjects(final JsonArray jsonArray,
                                                  final Function<JsonObject, R> mapFunction,
                                                  final boolean discardNulls)
focal_class.class_method_signature: JavaxJson.mapObjectValues(final JsonObject jsonObject,
                                                final BiFunction<String, JsonObject, R> mapBiFunction,
                                                final boolean discardNulls)
focal_class.full_signature: public static List<R> mapObjectValues(final JsonObject jsonObject,
                                                final BiFunction<String, JsonObject, R> mapBiFunction,
                                                final boolean discardNulls)
focal_class.identifier: mapObjectValues
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject,
                                                final BiFunction<String, JsonObject, R> mapBiFunction,
                                                final boolean discardNulls)
focal_class.return: List<R>
focal_class.signature: List<R> mapObjectValues(final JsonObject jsonObject,
                                                final BiFunction<String, JsonObject, R> mapBiFunction,
                                                final boolean discardNulls)
focal_class.class_method_signature: JavaxJson.parseFromArray(final @NotNull JsonArray jsonArray,
                                               final @NotNull Fun.ThrowingFunction<String, R> parser,
                                               final @Nullable BiConsumer<String, Exception> errorConsumer)
focal_class.full_signature: @SuppressWarnings("WeakerAccess") public static List<R> parseFromArray(final @NotNull JsonArray jsonArray,
                                               final @NotNull Fun.ThrowingFunction<String, R> parser,
                                               final @Nullable BiConsumer<String, Exception> errorConsumer)
focal_class.identifier: parseFromArray
focal_class.modifiers: @SuppressWarnings("WeakerAccess") public static
focal_class.parameters: (final @NotNull JsonArray jsonArray,
                                               final @NotNull Fun.ThrowingFunction<String, R> parser,
                                               final @Nullable BiConsumer<String, Exception> errorConsumer)
focal_class.return: List<R>
focal_class.signature: List<R> parseFromArray(final @NotNull JsonArray jsonArray,
                                               final @NotNull Fun.ThrowingFunction<String, R> parser,
                                               final @Nullable BiConsumer<String, Exception> errorConsumer)
focal_class.class_method_signature: JavaxJson.hasNonNull(final @NotNull JsonObject json, final String key)
focal_class.full_signature: public static boolean hasNonNull(final @NotNull JsonObject json, final String key)
focal_class.identifier: hasNonNull
focal_class.modifiers: public static
focal_class.parameters: (final @NotNull JsonObject json, final String key)
focal_class.return: boolean
focal_class.signature: boolean hasNonNull(final @NotNull JsonObject json, final String key)
focal_method.body: public static JsonValue wrap(final Object object) {
          if (object == null) {
              return JsonValue.NULL;
          } else if (object instanceof JsonValue) {
              return (JsonValue) object;
          } else if (object instanceof HasValue) {
              return ((HasValue) object).toValue().get();
          } else if (object instanceof JsonObjectConvertible) {
              return ((JsonObjectConvertible) object).toJson();
          } else if (object instanceof JsonArrayConvertible) {
              return ((JsonArrayConvertible) object).toJson();
          } else if (object instanceof String) {
              return Json.createArrayBuilder().add((String) object).build().get(0);
          } else if (object instanceof Calendar) {
              return wrap(ISO8601.format((Calendar) object));
          } else if (object instanceof Boolean) {
              return ((Boolean) object) ? JsonValue.TRUE : JsonValue.FALSE;
          } else if (object instanceof Number) {
              if (object instanceof Integer) {
                  return Json.createArrayBuilder().add((Integer) object).build().get(0);
              } else if (object instanceof Long) {
                  return Json.createArrayBuilder().add((Long) object).build().get(0);
              } else if (object instanceof Double) {
                  return Json.createArrayBuilder().add((Double) object).build().get(0);
              } else if (object instanceof BigInteger) {
                  return Json.createArrayBuilder().add((BigInteger) object).build().get(0);
              } else if (object instanceof BigDecimal) {
                  return Json.createArrayBuilder().add((BigDecimal) object).build().get(0);
              } else {
                  // interesting... javax.json doesn't provide support for floats alongside doubles,
                  // but it does support both ints and longs.
                  return Json.createArrayBuilder().add(new BigDecimal(object.toString())).build().get(0);
              }
          } else if (object instanceof Object[]) {
              return Arrays.stream((Object[]) object).map(JavaxJson::wrap)
                      .collect(JsonCollectors.toJsonArray());
          } else if (object.getClass().isArray() && object.getClass().getComponentType().isPrimitive()) {
              if (object instanceof int[]) {
                  return Arrays.stream((int[]) object).mapToObj(JavaxJson::wrap).collect(JsonCollectors.toJsonArray());
              } else if (object instanceof long[]) {
                  return Arrays.stream((long[]) object).mapToObj(JavaxJson::wrap).collect(JsonCollectors.toJsonArray());
              } else if (object instanceof double[]) {
                  return Arrays.stream((double[]) object).mapToObj(JavaxJson::wrap).collect(JsonCollectors.toJsonArray());
              } else if (object instanceof char[]) {
                  return wrap(String.valueOf((char[]) object));
              } else if (object instanceof byte[]) {
                  return wrap(Base64.getUrlEncoder().encodeToString((byte[]) object));
              } else if (object instanceof float[]) {
                  // interesting... there is an IntStream and a LongStream,
                  // and there is a DoubleStream, but there is no FloatStream
                  final float[] floats = (float[]) object;
                  final double[] doubles = new double[floats.length];
                  for (int i = 0; i < floats.length; i++) {
                      doubles[i] = floats[i];
                  }
                  return wrap(doubles);
              } else if (object instanceof boolean[]) {
                  // zero support anywhere for boolean arrays. just box and throw over
                  final boolean[] booleans = (boolean[]) object;
                  final Boolean[] boxed = new Boolean[booleans.length];
                  for (int i = 0; i < booleans.length; i++) {
                      boxed[i] = booleans[i];
                  }
                  return wrap(boxed);
              }
          } else if (object instanceof Map) {
              return ((Map<?, ?>) object).entrySet().stream()
                      .collect(Collectors.toMap(
                              entry -> String.valueOf(entry.getKey()),
                              entry -> wrap(entry.getValue()))).entrySet().stream()
                      .collect(JsonCollectors.toJsonObject());
          } else if (object instanceof Collection) {
              return ((Collection<?>) object).stream().map(JavaxJson::wrap)
                      .collect(JsonCollectors.toJsonArray());
          }
          return Json.createArrayBuilder().add(String.valueOf(object)).build().get(0);
      }
focal_method.class_method_signature: JavaxJson.wrap(final Object object)
focal_method.full_signature: public static JsonValue wrap(final Object object)
focal_method.identifier: wrap
focal_method.invocations: get toValue toJson toJson get build add createArrayBuilder wrap format get build add createArrayBuilder get build add createArrayBuilder get build add createArrayBuilder get build add createArrayBuilder get build add createArrayBuilder get build add createArrayBuilder toString collect map stream toJsonArray isArray getClass isPrimitive getComponentType getClass collect mapToObj stream toJsonArray collect mapToObj stream toJsonArray collect mapToObj stream toJsonArray wrap valueOf wrap encodeToString getUrlEncoder wrap wrap collect stream entrySet collect stream entrySet toMap valueOf getKey wrap getValue toJsonObject collect map stream toJsonArray get build add createArrayBuilder valueOf
focal_method.modifiers: public static
focal_method.parameters: (final Object object)
focal_method.return: JsonValue
focal_method.signature: JsonValue wrap(final Object object)