uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Toldo <lucato...@gmail.com>
Subject Re: Deserialization of CAS object back from JSON
Date Thu, 04 May 2017 12:37:35 GMT
I’ve been trying  

Roman’s (windj007) https://github.com/windj007/uima-serialization/

and Jackson serialisation/deserialisation (http://www.baeldung.com/jackson-deserialization)



On 2017-05-04 12:15 (+0200), Richard Eckart de Castilho <rec@apache.org> wrote: 
> Hi Luca,
> 
> On 04.05.2017, at 10:00, Luca Toldo <lucatoldo@gmail.com> wrote:
> > 
> > Help would be appreciated how to convert back the serialized JSON into a CAS object.
> > Unfortunately, there is no org.apache.uima.json.JsonCasDeSerialize...
> 
> That's unfortunately correct: the JSON support in UIMA presently only supports serialization,
but not deserialization.
> 
> We have support for serializing to/from XML (XMI) and for various binary formats.
> 
> For sending data across a network connection, I would personally choose a compressed
binary format (COMPRESSED_TSI).
> 
> I would suggest you have a look at CasIOUtils and SerialFormat present in recent UIMA
releases.
> 
> Cheers,
> 
> -- Richard
Mime
View raw message