The manual clearly states that ds_maps and ds_lists get created for the obejcts and (nested) arrays in the json. And also that cleaning up is the responsibility of the developer.
My question is, do I need to cleanup every potentially created ds_map and ds_list, even if I didn't use them after calling json_decode? Imagine I use only a part of the json (say, the first object in an array, but not the others), do I need to clean up everything or only the used part?
I'll write a cleanup function if need be, just wanted to be sture =)
Edited by Sulsay, 20 December 2012 - 08:36 AM.