Re: Parsing JSON

2015-10-20 Thread Martin Junghanns
An example can be found here: Code to read JSON from line: https://github.com/dbs-leipzig/gradoop/blob/master/gradoop-flink/src/main/java/org/gradoop/io/json/JsonReader.java#L57 How it is called: https://github.com/dbs-leipzig/gradoop/blob/master/gradoop-flink/src/main/java/org/gradoop/model/im

Re: Parsing JSON

2015-10-20 Thread Flavio Pompermaier
The easiest way is to have each json object in a single line so you could use the env.readTextFile method.. On 20 Oct 2015 09:03, "Papp, Stefan" wrote: > Hi, > > > I want to process data with JSON. Meaning, I have to receive JSON data and > prepare this data for analytics. In the beginning, we mi

Parsing JSON

2015-10-20 Thread Papp, Stefan
Hi, I want to process data with JSON. Meaning, I have to receive JSON data and prepare this data for analytics. In the beginning, we might receive this data via files, but I assume soon we will switch to a streaming variant. What is currently the best recommended practice with Flink? Thank yo