Oversteer
Oversteer

Reputation: 1828

JAX-RS/Jersey client: unmarshall URI encoded name/value pairs

I wondered if anyone knows how best to unmarshall a response from a JAX-RS/Jersey client that is returning a response from paypal. The response is URI encoded in name/value pairs. I ask because I've already written some code that unmarshalls a google geocode response, given a class hierarchy it automagically transforms the JSON response into objects, but alas I've not been able to do similar with this simpler problem.

TIMESTAMP=2011%2d06%2d03T13%3a22%3a17Z&CORRELATIONID=f708c43c1d078&ACK=Success&VERSION=56%

Thanks for any help.

Upvotes: 3

Views: 577

Answers (1)

laz
laz

Reputation: 28638

You're going to need to do something like this: Parsing query strings on Android.

Upvotes: 1

Related Questions