Class JBINInput

java.lang.Object
com.invirgance.convirgance.input.JBINInput
All Implemented Interfaces:
Input<JSONObject>

public class JBINInput extends Object implements Input<JSONObject>
Provides support for reading binary encoded JSON data in the JBIN format. Provides a smaller encoding than JSON along with significantly higher parsing performance.
Author:
jbanes
  • Constructor Details

    • JBINInput

      public JBINInput()
  • Method Details

    • read

      public InputCursor<JSONObject> read(Source source)
      Returns a stream of data over the underlying JBIN encoding
      Specified by:
      read in interface Input<JSONObject>
      Parameters:
      source - where to read the data from
      Returns:
      a stream of data