All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.fastjson.serializer.Labels Maven / Gradle / Ivy

Go to download

Fastjson is a JSON processor (JSON parser + JSON generator) written in Java

There is a newer version: 2.0.53
Show newest version
package com.alibaba.fastjson.serializer;

public class Labels {
    private static class DefaultLabelFilter
            extends com.alibaba.fastjson2.filter.Labels.DefaultLabelFilter
            implements LabelFilter {
        public DefaultLabelFilter(String[] includes, String[] excludes) {
            super(includes, excludes);
        }
    }

    public static LabelFilter includes(String... views) {
        return new DefaultLabelFilter(views, null);
    }

    public static LabelFilter excludes(String... views) {
        return new DefaultLabelFilter(null, views);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy