Hi,
I have a json file in below format,  how could parse this JSON file using 
ur json parser.

the Header values are reside in the json file, how can I separate value and 
the json messages.  Please help me to filter out the header and msg 
separately using FASTXML.


-X POST /capability/b167-01/authorisationprofile/flv000120/v1/events
-H "accept: application/json"
-H "content-type: application/vnd.api+json"
-H "X-Transaction-MessageId: 594dde6e-c7ca-4422-bab0-7f40e34f52d1"
-H "X-Transaction-DateTimeCreated: 2017-05-30T09:44:34Z"
{ 
   "serviceData":{ 
      "events":[ 
         { 
            "eventCommonContext":{ 
               "transaction":{ 
                  "messageId":"114f7a5c-659a-4397-8437-b463ec0a5bc3",
                  "conversationId":"f578bc44-00ae-4ac7-86d2-3e8c40ad0326",
                  "dateTimeCreated":"2017-05-30T09:40:14Z"
               },
               "documentation":{ 
                  "contractVersion":"1.0.65348"
               }
            },
            "eventServiceData":{ 
               "authorisationProfileDeleted":{ 
                  "authorisationProfileIdentifier":{ 
                     "id":"Auth#001",
                     "idScope":{ 
                        "value":"PUBLIC"
                     }
                  },
                  "idContext":{ 
                     "value":"B167"
                  }
               }
            }
         }
      ]
   }
}

-- 
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to