Passing JSON through the URI
Posted
by Leaf
on Stack Overflow
See other posts from Stack Overflow
or by Leaf
Published on 2010-04-15T12:48:13Z
Indexed on
2010/04/15
12:53 UTC
Read the original article
Hit count: 245
I'm trying to create a REST based web service with data encapsulated using JSON. My problem is when I pass the string version of JSON in the URI it turns to something like this: %7B%22coal%22:100,%22ele%22:1500.1%7D.
I'm wondering if there are any functions Java for converting between the escaped and unescaped versions so I can parse the string.
© Stack Overflow or respective owner