Package io.flutter.plugin.common

## Class JSONUtil

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

-     public class JSONUtil
      extends Object

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Object` | `unwrap​(Object o)` | Convert the Json java representation to Java objects.
    `static Object` | `wrap​(Object o)` | Backport of `JSONObject.wrap(Object)` for use on pre-KitKat systems.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### unwrap

          public static Object unwrap​(Object o)

      Convert the Json java representation to Java objects. Particularly used for converting JSONArray and JSONObject to Lists and Maps.

    - #### wrap

          public static Object wrap​(Object o)

      Backport of `JSONObject.wrap(Object)` for use on pre-KitKat systems.