I want to move the java JSON element(JSON array) into Java set. How do I do that in a simpler manner?
JsonElement newdcdc = npsdfs.seget();
sample JSON element
[
{
"expand": "desc",
"key":"qwe1"
},
{
"expand": "descrip",
"key":"qwe2"
},
{
"expand": "description",
"key":"qwe3"
}
]
i need to create some set with all keys so how i do that