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: 156
        
Guys, simple situation -
- read a json file
- discover all key-value pairs
- 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