Package com.castlabs.android.utils

## Class DataUtils

- java.lang.Object
- - com.castlabs.android.utils.DataUtils

-     public class DataUtils
      extends Object

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static JSONObject` | `bundleToJSON​(Bundle bundle)` |
    `static Bundle` | `JSONtoBundle​(JSONObject json)` |

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

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

- - ### Method Detail

    - #### JSONtoBundle

          @NonNull
          public static Bundle JSONtoBundle​(@Nullable
                                            JSONObject json)
                                     throws JSONException

      Throws:
        `JSONException`

    - #### bundleToJSON

          @NonNull
          public static JSONObject bundleToJSON​(@Nullable
                                                Bundle bundle)