Solved

parse a json object in JAVA

Posted on 2013-11-05
1
219 Views
Last Modified: 2013-11-10
Hello ,
  I have  this json object

{"groupOp":"AND","rules":[{"field":"m_level","op":"cn","data":"level"},{"field":"m_host","op":"cn","data":"IMP"}]}

Open in new window


How can I parse it using --> com.google.gson.Gson library

I need to extract all the keys and value..
0
Comment
Question by:SiemensSEN
1 Comment
 
LVL 11

Accepted Solution

by:
Manish earned 500 total points
ID: 39625080
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now