com.fasterxml.jackson.databind.node.NullNode.java Source code

Java tutorial

Introduction

Here is the source code for com.fasterxml.jackson.databind.node.NullNode.java

Source

package com.fasterxml.jackson.databind.node;

import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.SerializerProvider;

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

    public static NullNode getInstance() {
        return instance;
    }

    public String asText() {
        return "null";
    }

    public boolean equals(Object paramObject) {
        return paramObject == this;
    }

    public final void serialize(JsonGenerator paramJsonGenerator, SerializerProvider paramSerializerProvider) {
        paramJsonGenerator.writeNull();
    }
}

/* Location:           /Users/dantheman/src/fffffffffattttt/basis/classes_dex2jar.jar
 * Qualified Name:     com.fasterxml.jackson.databind.node.NullNode
 * JD-Core Version:    0.6.2
 */