I have noticed that the json_object_foreach(obj, key, value) function could not detect sub-objects if the sub-objects were at the middle of the objects. For example ...