Class 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.