Class JsonStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.camel.jsonpath.JsonStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class JsonStream extends FilterInputStream
Special stream for JSON streams. Determines from the first 4 bytes the JSON encoding according to JSON specification RFC-4627 or newer. In addition BOMs are taken into account.

This class is not thread safe.