title: Unmarshal JSON to Java POJO in JAX-RS
body: <p>I am looking to get the key and value to each Json formatted call and use them as java objects such as String or Integer ,in a rest client i would enter</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;Name&quot;:&quot;HelloWorld&quot;
  }
  </code></pre>
  <p>And i would get back the HelloWorld mapped to its Key so far ive seen examples but im just having trouble finding out what each tag does and how to parse the body to give the above results</p>
  <pre class="lang-java prettyprint-override"><code>@POST
  @Path(&quot;/SetFeeds&quot;)
  @Consumes(MediaType.APPLICATION_JSON)   
  @Produces(MediaType.APPLICATION_JSON) 
  @JsonCreator
  public String setFeed(String jsonBody,@Context UriInfo uriInfo){        
      // Code to manipulate the body of the request 
      return response;
  }
  </code></pre>