rowToJSONObject

Produce a JSONObject from a row of comma delimited text, using a parallel JSONArray of strings to provides the names of the elements.

Return

A JSONObject combining the names and values.

Parameters

names

A JSONArray of names. This is commonly obtained from the first row of a comma delimited text file using the rowToJSONArray method.

x

A JSONTokener of the source text.

Throws

if a called function fails