Skip to first unread message

KEVIN MULAMA

unread,
Aug 15, 2014, 8:17:28 AM8/15/14
to jackso...@googlegroups.com



I am trying to De-serialize a JSON response. The response may contain a single object or an array of objects (JSON Array) with a key word(claims) as represented below. Depending on the type of request the key word may or may not be in the response i.e :

//SINGLE ITEM RESPONSE
{
"id":299102182,
"memberNumber":"AON5118-03",
   
"serviceTags":
   
{
     
"transactionId":22,
     
"serviceCode":"097090",
 
   
},
"groupCode":"70"
}




OR

MULTIPLE ITEM RESPONSE
{
"claims":[
           
{
           
"id":4433,
           
"memberNumber":"s23s3",
           
"serviceTags":
             
{
             
"transactionId":11,
             
"serviceCode":"222",
             
},
           
"groupCode":"70"
           
},
           
{
           
"id":4435,
           
"memberNumber":"er4rer",
           
"serviceTags":
             
{
             
"transactionId":32,
             
"serviceCode":"434",
             
},
           
"groupCode":"67"
           
}
         
]
}





Tatu Saloranta

unread,
Aug 15, 2014, 8:29:50 PM8/15/14
to jackso...@googlegroups.com
... and? Are you have an issue or... ? What have you done so far.

-+ Tatu +-


--
You received this message because you are subscribed to the Google Groups "jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jackson-user...@googlegroups.com.
To post to this group, send email to jackso...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages