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

com.alibaba.fastjson2.adapter.jackson.databind.node.NullNode Maven / Gradle / Ivy

There is a newer version: 2.0.26
Show newest version
package com.alibaba.fastjson2.adapter.jackson.databind.node;

public class NullNode
        extends ValueNode {
    public static final NullNode instance = new NullNode();

    @Override
    public String asText() {
        return null;
    }

    public static NullNode getInstance() {
        return instance;
    }

    @Override
    public boolean isTextual() {
        return true;
    }

    @Override
    public JsonNodeType getNodeType() {
        return JsonNodeType.NULL;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy