read, parse and process json (java)

Posted by mac on Stack Overflow See other posts from Stack Overflow or by mac
Published on 2010-06-08T19:55:50Z Indexed on 2010/06/09 8:22 UTC
Read the original article Hit count: 119

Filed under:
|

Guys, simple situation -

  1. read a json file
  2. discover all key-value pairs
  3. compare key-value pairs

I tried gson, package from json.org, but can't seem to get far with it.

Can someone please provide a clear sample in Java on how to take a file, read it, end up with json objec i can get key/value pairs from

thanks so much

© Stack Overflow or respective owner

Related posts about java

Related posts about JSON