title: Spring Boot controller to forward general json
body: <p>In a Spring Boot controller, I am receiving json and want to "forward" it without any processing:</p>
  
  <pre><code>@RequestMapping(value = "/forward", method = RequestMethod.POST)
      public void abc(@RequestBody GeneralJsonRepresentation json, HttpServletRequest request) {
  
          restTemplate.postForEntity(endpoint, json, Object.class)
      }
  </code></pre>
  
  <p>Is it possible to accomplish this, for instance with an implementation of <code>GeneralJsonRepresentation</code>, assuming the controller has no knowledge of the json format and that the received content type is <code>application/json</code>?</p>