Processing JSON Reference ($ref)

27 views
Skip to first unread message

cnaure...@gmail.com

unread,
Mar 27, 2019, 12:42:31 AM3/27/19
to google-gson
Hi,

I'm trying to convert the ff JSON:

{
"real": [
1,
2,
3,
4
],
"ref": {
"$ref": "#/real"
}
}


to

{
'real': [
1,
2,
3,
4
],
'ref': [
1,
2,
3,
4
]
}

May I ask how to I do this in GSON ?  

Thanks in advance.

Regards,
Carlo
Reply all
Reply to author
Forward
0 new messages