java.lang.Object
org.infinispan.commons.dataconversion.internal.JsonUtils

public final class JsonUtils extends Object
Utility function for Json
Since:
13.0
Author:
Pedro Ruivo
  • Method Details

    • createJsonArray

      public static <T> Json createJsonArray(Collection<T> collection)
    • createJsonArray

      public static <T> Json createJsonArray(Stream<T> stream)
    • createJsonArray

      public static <T> Json createJsonArray(Collection<T> collection, Function<T,Json> jsonFactory)
    • createJsonArray

      public static <T> Json createJsonArray(Stream<T> stream, Function<T,Json> jsonFactory)