jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java
public static boolean isJsonRequest(HttpServletRequest servletRequest) {
		final String contentType = servletRequest.getContentType();
		if (contentType == null) {
			return false;
		}

		return contentType.equals(MimeTypes.MIME_APPLICATION_JSON);
	}
public static boolean isJsonRequest(HttpServletRequest servletRequest) {
		final String contentType = servletRequest.getContentType();
		if (contentType == null) {
			return false;
		}

		return contentType.equals(MimeTypes.MIME_APPLICATION_JSON);
	}
Returns {@code true} if request has JSON content type.