def default(self, obj):

        if isinstance(obj, (PBXList, PBXDict)):
            return obj.data

        return json.JSONEncoder.default(self, obj)
Tests the input object, obj, to encode as JSON.
dataset/ETHPy150Open kivy/kivy-ios/tools/external/mod_pbxproj.py/PBXEncoder.default