Jackson Core Source Code

Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java".

Jackson Core Source Code files are provided in the source packge (jackson-core-2.12.4-sources.jar). You can download it at Jackson Maven Website.

You can also browse Jackson Core Source Code below:

✍: FYIcenter.com


package com.fasterxml.jackson.core.io;

import java.io.*;

 * Helper class to support use of {@link DataOutput} for output, directly,
 * without caller having to provide for implementation.
 * @since 2.8
public class DataOutputAsStream extends OutputStream
    protected final DataOutput _output;

    public DataOutputAsStream(DataOutput out) {
        _output = out;

    public void write(int b) throws IOException {

    public void write(byte b[]) throws IOException {
        _output.write(b, 0, b.length);

    public void write(byte b[], int offset, int length) throws IOException {
        _output.write(b, offset, length);

    // These are no-ops, base class impl works fine

    public void flush() throws IOException { }

    public void close() throws IOException { }



⇒ Download and Install Jackson Binary Package

⇐ What Is Jackson

⇑ Downloading and Reviewing jackson-*.jar

⇑⇑ Jackson - Java JSON library

2016-02-03, 29453👍, 1💬