I am unfamiliar with this project.
I took a quick look and see that:
a) it's old - not been worked on for more than 3 years
b) The serialization technique is to serialize using UIMA's CAS -> XCAS (an
older form of xml serialization), followed by a transform from the xml to json.
I didn't look,
Thankyou Marshall for your fast and authoritative reply.
The deserialization from JSON to CAS is really important since this will
„bridge“ the UIMA community with the micro service REST world.
I've found the following project
https://github.com/windj007/uima-serialization/ and I am interested o
The core UIMA support has not (yet) implemented a deserializer back into CAS
form, for this.
The main idea behind CAS -> JSON conversion was to provide the CAS info to JSON
Consumers.
We have multiple other serializations (CAS -> XMI, etc.) that are designed for
"transport" and include deseriali
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
wrote:
> Hi Luca,
>
> On 04.05.2017, at 10:00, Luca Tol
Hi Luca,
On 04.05.2017, at 10:00, Luca Toldo 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
The following Java code (inspired from
http://stackoverflow.com/questions/40838999/getting-output-in-json-format-in-uima
)
import java.io.*;
import org.apache.uima.fit.factory.JCasFactory;
import org.apache.uima.jcas.JCas;
import org.apache.uima.cas.CAS;
import org.apache.uima.json.JsonCasSeria
Inspired by https://goo.gl/zg9Bs3 following code
import java.io.*;
import org.apache.uima.fit.factory.JCasFactory;
import org.apache.uima.jcas.JCas;
import org.apache.uima.cas.CAS;
import org.apache.uima.json.JsonCasSerializer;
public class test {
public static void main(String [] args )