hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davidjesse...@aol.com
Subject json in multi part response
Date Tue, 03 Jan 2017 07:33:34 GMT
I'm working with a HTTP web service that returns json in a multi part response. Are there any
libraries that can help me parse the JSON from the multipart response? Here is the example
of what the response looks like I want to extract "{SOMEJSON}" and "{ANOTHERJSON}"





--Boundary_11484410_1140855603_1483010655979
Content-Type: application/json
Content-RequestId: SaveMessage
Status-Code: 200
Content-RequestDuration: 146

{SOMEJSON}
--Boundary_11484410_1140855603_1483010655979
Content-RequestId: Status
Content-Type: application/json

{ANOTHERJSON}
--Boundary_11484410_1140855603_1483010655979--





I want to extract "{SOMEJSON}" and "{ANOTHERJSON}"


Any reliable way to do this?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message