Here you can find the source of decodeURItoMap(String URIstring)
public static Map<String, Object> decodeURItoMap(String URIstring)
//package com.java2s; //License from project: Open Source License import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; public class Main { public static Map<String, Object> decodeURItoMap(String URIstring) { HashMap<String, Object> map = new HashMap<String, Object>(); try {//from ww w . ja v a 2s .c om URIstring = java.net.URLDecoder.decode(URIstring, "UTF-8"); ObjectMapper mapper = new ObjectMapper(); map = mapper.readValue(URIstring, new TypeReference<Map<String, Object>>() { }); } catch (Exception e) { } return map; } }