code: def loads(string):
    
    f = StringIO.StringIO(string)
    marshaller = JavaObjectUnmarshaller(f)
    marshaller.add_transformer(DefaultObjectTransformer())
    return marshaller.readObject()
docs: Deserializes Java objects and primitive data serialized by ObjectOutputStream
    from a string.