Class JSONUtil

java.lang.Object
io.flutter.plugin.common.JSONUtil

public class JSONUtil extends Object
  • Method Details

    • unwrap

      @Nullable public static Object unwrap(@Nullable Object o)
      Convert the Json java representation to Java objects. Particularly used for converting JSONArray and JSONObject to Lists and Maps.
    • wrap

      @Nullable public static Object wrap(@Nullable Object o)
      Backport of JSONObject.wrap(Object) for use on pre-KitKat systems.