I'm not sure how that would work, can you explain?  If we've reached this part in the code it means that we have a dict or array, and something contained within one of those objects cannot be serialized by NSJSON, which is why YKJSON has to loop through the values and recursively call _JSONObjectFromObject on the value stored.