How to convert map to url query string?
Posted
by Ula Krukar
on Stack Overflow
See other posts from Stack Overflow
or by Ula Krukar
Published on 2010-05-11T10:32:12Z
Indexed on
2010/05/11
10:44 UTC
Read the original article
Hit count: 215
Do you know of any utility class/library, that can convert Map into URL-friendly query string?
Example:
I have a map:
- "param1"=12,
- "param2"="cat"
I want to get: param1=12¶m2=cat
.
PS. I know I can easily write it myself, I am just surprised that I cannot find it anywhere (I checked Apache Commons so far).
© Stack Overflow or respective owner