I am trying to parse a large JSON object in Java.
{
"created_at":"Fri May 23 18:40:13 +0000 2014",
"id":469910689948389376,
"id_str":"469910689948389376",
"text":"Foto: Discorsi - Scarica l'app e Partecipa http:\/\/t.co\/zqztInkl6h #BraccialettiRossi http:\/\/t.co\/JeGHPvljwn",
"source":"\u003ca href=\"http:\/\/www.apple.com\" rel=\"nofollow\"\u003eiOS\u003c\/a\u003e",
"truncated":false,
"in_reply_to_status_id":null,
"in_reply_to_status_id_str":null,
"in_reply_to_user_id":null,
"in_reply_to_user_id_str":null,
"in_reply_to_screen_name":null,
"user":{
"id":587593116,
"id_str":"587593116",
"name":"Giulia Zaytsev",
"screen_name":"giubex",
...
}
I need to extract the following information from the object:
id_str
created_at
text
user_id
There are 200 million such lines and I need to do some processing on individual objects (check if they are not null). I tried to implement the code listed here but I am a little confused.
Thanks for your help.