That is precisely what the ToJson method of pig-to-json does. It takes a bag or tuple or nested combination thereof and returns a JSON string.
See Russell’s post for the details.
This entry was posted
on Thursday, September 27th, 2012 at 7:46 pm and is filed under JSON, Pig.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.