Last Updated: June 22, 2016
· parimala

how to initialize json objects and array in a efficient way

if i initialize json object like this, JSONObject results = new JSONObject(); if json object is not created the memory allocated for json object was wasted.
So anyone can tell me a me a BEST way to initialize JSON variable.