com.javanut.pronghorn.util.parse.JSONStreamVisitorNull Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pronghorn-pipes Show documentation
Show all versions of pronghorn-pipes Show documentation
Ring buffer based queuing utility for applications that require high performance and/or a small
footprint. Well suited for embedded and stream based processing.
package com.javanut.pronghorn.util.parse;
import com.javanut.pronghorn.util.ByteConsumer;
public class JSONStreamVisitorNull implements JSONStreamVisitor {
protected ByteConsumer consumer = new ByteConsumer(){
@Override
public void consume(byte[] backing, int pos, int len, int mask) {
}
@Override
public void consume(byte value) {
}
};
@Override
public void nameSeparator() {
}
@Override
public void endObject() {
}
@Override
public void beginObject() {
}
@Override
public void beginArray() {
}
@Override
public void endArray() {
}
@Override
public void valueSeparator() {
}
@Override
public void whiteSpace(byte b) {
}
@Override
public void literalTrue() {
}
@Override
public void literalNull() {
}
@Override
public void literalFalse() {
}
@Override
public void numberValue(long m, byte e) {
}
@Override
public void stringBegin() {
}
@Override
public ByteConsumer stringAccumulator() {
return consumer;
}
@Override
public void stringEnd() {
}
@Override
public void customString(int id) {
}
@Override
public boolean isReady() {
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy