Sha256: eb55c64122ad4a2a20fc12001a4150299bc1da8cf4ea25d3ab34742d213d30e1
Contents?: true
Size: 544 Bytes
Versions: 1
Compression:
Stored size: 544 Bytes
Contents
package org.embulk.input.singer_tap; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import org.msgpack.value.Value; import org.msgpack.value.ValueFactory; public class NullableObjectParser extends ObjectParser { public NullableObjectParser(ObjectNode node) throws Exception { super(node); } @Override public Value parse(JsonNode node) { if (node.isNull()) { return ValueFactory.newNil(); } return super.parse(node); } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
embulk-input-singer_tap-0.1.0 | src/main/java/org/embulk/input/singer_tap/NullableObjectParser.java |