@Override
    public boolean matched(Context ctx, String mime) {
        if (mime == null) {
            return false;
        } else {
            return mime.contains(label) || mime.startsWith(MimeType.APPLICATION_X_NDJSON_VALUE);
        }
    }
Match or not

@param ctx Handling context
@param mime content type
extension-solon/src/main/java/com/alibaba/fastjson2/support/solon/Fastjson2StringSerializer.java