title: Loading a json file into PIG
body: <p>How can I load the following json file using PIG?</p>
  
  <pre><code>{"age":100,"name":"mkyong.com","messages":["msg 1","msg 2","msg 3"]}
  </code></pre>
  
  <p>I tried something like this but it's giving me exception.</p>
  
  <pre><code>jsoncust_table = LOAD 'customers.json' USING JsonLoader('age:int, name:string, messages:chararray');
  </code></pre>