/** * Converts posted JSON map to a Java Map. Example JSON map: <code>{"name":"John", "age":21}</code>. * * @return Java Map converted from posted JSON string map. */ protected Map jsonMap() { checkJsonContentType(); try { return JsonHelper.toMap(getRequestString()); } catch (IOException e) { throw new WebException(e); } }