

def unmarshal(self, data, **kwargs):
    if isinstance(data, six.binary_type):
        data = data.decode('utf-8')
    return json.loads(data)

dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/primitives/codec.py JsonCodec.unmarshal/original