Re: Parse Nested JSON String in Pig

2013-07-24 Thread Harsha
Dan, include these jars register 'jackson-core-2.0.6.jar' register 'jackson-databind-2.0.6.jar' register 'jackson-annotations-2.0.6.jar' -- Harsha On Wednesday, July 24, 2013 at 2:25 PM, Serega Sheypak wrote: > There is a missing dependency, a jar with class > com.fasterxml.jackson

Re: Parse Nested JSON String in Pig

2013-07-24 Thread Serega Sheypak
There is a missing dependency, a jar with class com.fasterxml.jackson.databind.ObjectMapper Use Google to find jar. Suggest you to use maven public repos. 24.07.2013 23:16 пользователь "Dan Zhu" написал: > Hi pig-users, > > I have tuples of nested JSON string, I am trying to parse it in Pig. > >

Parse Nested JSON String in Pig

2013-07-24 Thread Dan Zhu
Hi pig-users, I have tuples of nested JSON string, I am trying to parse it in Pig. I tried com.twitter.elephantbird.pig.piggybank.JsonStringToMap() (acctDataJsonized = FOREACH acctData GENERATE com.mozilla.pig.eval.json.JsonMap($0) AS json_map:map[];) but it only parsed the first level rather