Reputation: 2141
If i have a text file with JSON, how do I load and store it?
Upvotes: 0
Views: 83
Reputation: 3199
Try using JSONLoader and JSONStorage to load and store the json data, its included in Pig from 0.10.0
http://pig.apache.org/docs/r0.10.0/func.html#jsonloadstore
Upvotes: 2