title: Jersey REST Client - Treat Custom MediaType as MediaType.APPLICATION_JSON
body: <p>I'm writing a REST client using Jersey <strong>with JacksonFeature enabled</strong> for a webservice that forces me to specify their custom-named content type, even though it's just regular JSON. In other words, when I do this:</p>
  
  <pre><code>Request request = buildMySampleRequestPojo();
  
  Response response = requestBuilder.post(
          Entity.entity(request, MediaType.APPLICATION_JSON)
  );
  </code></pre>
  
  <p>The service complains that I'm using an invalid content type. I can get around this by specifying their custom-named media type in place of the MediaType.APPLICATION_JSON constant:</p>
  
  <pre><code>Response response = requestBuilder.post(
          Entity.entity(request, "vnd.stupidNameThatReallyIsJustJSON+json")
  );
  </code></pre>
  
  <p>However, when I do that, I get:</p>
  
  <pre><code>*SEVERE: MessageBodyWriter not found for media type=stupidNameThatReallyIsJustJSON*
  </code></pre>
  
  <p>Is there a way I can have Jersey treat this customized media type name as if it were regular JSON without writing a customized MessageBodyWriter?</p>