Question
Scotiabank
CA
Last activity: 2 Sep 2016 12:48 EDT
adoptJSONObject (strJSON) not parsing Heterogeneous JSON Array
Folks,
I'm trying to parse a JSON strcuture that includes a Heterogeneous JSON Array using the ClipboardPage.adoptJSONObject(strJSON). But it's not parsing the Heterogeneous Array. Following is my sample JSON (strJSON) is
{
"answer": "yes",
"additionalInfo": [
[
"rad",
"bay"
],
[
"hip hop",
"dub"
]
]
}
And attached is the Datamodel of the class to which it's getting mapped to.
We are on PRPC 7.2


can you try this (use of adoptJSONArray instead) to see if it works? https://collaborate.pega.com/question/how-parse-array-type-json-request-using-activity