toString

open fun toString(ja: JSONArray): String

Produce a comma delimited text from a JSONArray of JSONObjects. The first row will be a list of names obtained by inspecting the first JSONObject.

Return

A comma delimited text.

Parameters

ja

A JSONArray of JSONObjects.

Throws

if a called function fails


open fun toString(names: JSONArray, ja: JSONArray): String

Produce a comma delimited text from a JSONArray of JSONObjects using a provided list of names. The list of names is not included in the output.

Return

A comma delimited text.

Parameters

names

A JSONArray of strings.

ja

A JSONArray of JSONObjects.

Throws

if a called function fails