Skip to content

JSON

Non-Visible component
Category Requires Version
Utilities API 19, Android 4.4 - 4.4.4 KitKat 1

Overview

A non-visible component that parses and handles data encoded as JSON.

Events

Error Occurred

Triggers when there is a JSON error.

Params
function Name Text
error Message Text

Methods

Add Boolean To JSONArray

Returns: Text

Add True or False to a JSON Array.

Params
jsonArray Text
true Or false Boolean
default Value Text

Add Boolean To JSONObject

Returns: Text

Add True or False to a JSON Object.

Params
jsonObject Text
true Or false Boolean
name Text
default Value Text

Add JSONArray To JSONArray

Returns: Text

Add a JSON Array to a JSON Array.

Params
jsonArray Text
new JSONArray Text
default Value Text

Add JSONObject To JSONArray

Returns: Text

Add a JSON Object to a JSON Array.

Params
jsonArray Text
jsonObject Text
default Value Text

Add JSONObject To JSONObject

Returns: Text

Add a JSON Object to a JSON Object.

Params
jsonObject Text
new JSONObject Text
name Text
default Value Text

Add Number To JSONArray

Returns: Text

Add a Number to a JSON Array.

Params
jsonArray Text
number Number
default Value Text

Add Number To JSONObject

Returns: Text

Add a Number to a JSON Object.

Params
jsonObject Text
number Number
name Text
default Value Text

Add Text To JSONArray

Returns: Text

Add Text to a JSON Array.

Params
jsonArray Text
text Text
default Value Text

Add Text To JSONObject

Returns: Text

Add Text to a JSON Object.

Params
jsonObject Text
text Text
name Text
default Value Text

Get Boolean From JSONArray

Returns: Boolean

Get a True or False from a JSON Array.

Params
jsonArray Text
index Number
default Value Boolean

Get Boolean From JSONObject

Returns: Boolean

Get a true or false value from a JSON Object.

Params
jsonObject Text
name Text
default Value Boolean

Get JSONArray From JSONObject

Returns: Text

Get a JSON Array from a JSON Object.

Params
jsonObject Text
name Text
default Value Text

Get JSONObject From JSONArray

Returns: Text

Get a JSON Object from a JSON Array.

Params
jsonArray Text
index Number
default Value Text

Get JSONObject From JSONObject

Returns: Text

Get a JSON Object from a JSON Object.

Params
jsonObject Text
name Text
default Value Text

Get Length Of JSONArray

Returns: Number

Get the length of a JSON Array.

Params
jsonArray Text
default Value Number

Get Number From JSONArray

Returns: Number

Get a Number from a JSON Array.

Params
jsonArray Text
index Number
default Value Number

Get Number From JSONObject

Returns: Number

Get a number from a JSON Object.

Params
jsonObject Text
name Text
default Value Number

Get Text From JSONArray

Returns: Text

Get Text from a JSON Array.

Params
jsonArray Text
index Number
default Value Text

Get Text From JSONObject

Returns: Text

Get text from a JSON object.

Params
jsonObject Text
name Text
default Value Text

Last update: January 27, 2020