Question

1
Replies
450
Views
Close popover
Chinmaya Kumar Baral (ChinmayaKumarB)
WellsFargo

WellsFargo
IN
ChinmayaKumarB Member since 2017 1 post
WellsFargo
Posted: November 27, 2017
Last activity: November 30, 2017
Closed
Solved

How to parse a JSON with Dot/period in the Key

Hi,

What would be the page structure after parsing the below JSON sample.

{

"A.B":{

"C":"12346"

}

}

Thanks.

Note:- Initially I thought it would create A page. A.B as embedded page .C as single value property . So, i tried this with data page and source as activity . Inside activity i used adoptJSONObject() . But getting error in logs that A.B does not exist . A and B are of Page property belonging to @baseclass .

Also, we cannot create properties with dot . ex:- A.B .

Case Management
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.