CloudPlugs REST Library  1.0.0
for Android
Json Class Reference

Tool class to simplify operations on JSON objects and strings. This is for internal usage. More...

Static Public Member Functions

static Object cast (String str) throws JSONException, NumberFormatException
 
static String esc (String str)
 
static JSONObject obj (Object... args) throws JSONException
 
static JSONArray arr (Object obj) throws JSONException
 
static boolean is (String json)
 

Detailed Description

Tool class to simplify operations on JSON objects and strings. This is for internal usage.

Member Function Documentation

◆ arr()

static JSONArray arr ( Object  obj) throws JSONException
static

◆ cast()

static Object cast ( String  str) throws JSONException, NumberFormatException
static

◆ esc()

static String esc ( String  str)
static

◆ is()

static boolean is ( String  json)
static

◆ obj()

static JSONObject obj ( Object...  args) throws JSONException
static