setParameters
Converts an array of key-value pairs to a JSON string.
Return
the JSON string
Parameters
params
the key-value pairs to be converted to JSON
Throws
if the number of parameters is odd (i.e., not in key-value pairs)
Converts an array of key-value pairs to a JSON string.
the JSON string
the key-value pairs to be converted to JSON
if the number of parameters is odd (i.e., not in key-value pairs)