code: public Object readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders,
  			InputStream entityStream) throws IOException, WebApplicationException {
  		String input = null;
  		try {
  			input = IOUtils.inputStreamToString(entityStream);
  		} catch (Exception e) {
  			
  		}
  		if (input == null) {
              return null;
          }
  		if (fastJsonConfig.features == null)
  			return JSON.parseObject(input, type, fastJsonConfig.parserConfig, JSON.DEFAULT_PARSER_FEATURE);
  		else
  			return JSON.parseObject(input, type, fastJsonConfig.parserConfig, JSON.DEFAULT_PARSER_FEATURE, fastJsonConfig.features);
  	}
docs: Method that JAX-RS container calls to deserialize given value.