Uses of Class
com.upokecenter.cbor.JSONOptions

  • Uses of JSONOptions in com.upokecenter.cbor

    Fields in com.upokecenter.cbor declared as JSONOptions
    Modifier and Type
    Field
    Description
    static final JSONOptions
    JSONOptions.Default
    The default options for converting CBOR objects to JSON.
    Methods in com.upokecenter.cbor with parameters of type JSONOptions
    Modifier and Type
    Method
    Description
    static CBORObject
    CBORObject.FromJSONBytes(byte[] bytes, int offset, int count, JSONOptions jsonoptions)
    Generates a CBOR object from a byte array in JavaScript object Notation (JSON) format, using the specified options to control the decoding process.
    static CBORObject
    CBORObject.FromJSONBytes(byte[] bytes, JSONOptions jsonoptions)
    Generates a CBOR object from a byte array in JavaScript object Notation (JSON) format, using the specified options to control the decoding process.
    static CBORObject[]
    CBORObject.FromJSONSequenceBytes(byte[] data, JSONOptions options)
    Generates a list of CBOR objects from an array of bytes in JavaScript object Notation (JSON) text sequence format (RFC 7464), using the specified options to control the decoding process.
    static CBORObject
    CBORObject.FromJSONString(String str, int offset, int count, JSONOptions jsonoptions)
    Generates a CBOR object from a text string in JavaScript object Notation (JSON) format, using the specified options to control the decoding process.
    static CBORObject
    CBORObject.FromJSONString(String str, JSONOptions jsonoptions)
    Generates a CBOR object from a text string in JavaScript object Notation (JSON) format, using the specified options to control the decoding process.
    static CBORObject
    CBORDataUtilities.ParseJSONNumber(byte[] bytes, int offset, int count, JSONOptions options)
    Parses a number from a byte sequence whose format follows the JSON specification (RFC 8259) and converts that number to a CBOR object.
    static CBORObject
    CBORDataUtilities.ParseJSONNumber(byte[] bytes, JSONOptions options)
    Parses a number from a byte sequence whose format follows the JSON specification (RFC 8259) and converts that number to a CBOR object.
    static CBORObject
    CBORDataUtilities.ParseJSONNumber(char[] chars, int offset, int count, JSONOptions options)
    Parses a number from a sequence of char s whose format follows the JSON specification (RFC 8259) and converts that number to a CBOR object.
    static CBORObject
    CBORDataUtilities.ParseJSONNumber(char[] chars, JSONOptions options)
    Parses a number from a sequence of char s whose format follows the JSON specification (RFC 8259) and converts that number to a CBOR object.
    static CBORObject
    CBORDataUtilities.ParseJSONNumber(String str, int offset, int count, JSONOptions options)
    Parses a number whose format follows the JSON specification (RFC 8259) and converts that number to a CBOR object.
    static CBORObject
    CBORDataUtilities.ParseJSONNumber(String str, JSONOptions options)
    Parses a number whose format follows the JSON specification (RFC 8259) and converts that number to a CBOR object.
    static CBORObject
    CBORObject.ReadJSON(InputStream stream, JSONOptions jsonoptions)
    Generates a CBOR object from a data stream in JavaScript object Notation (JSON) format, using the specified options to control the decoding process.
    static CBORObject[]
    CBORObject.ReadJSONSequence(InputStream stream, JSONOptions jsonoptions)
    Generates a list of CBOR objects from a data stream in JavaScript object Notation (JSON) text sequence format (RFC 7464).
    byte[]
    CBORObject.ToJSONBytes(JSONOptions jsonoptions)
    Converts this object to a byte array in JavaScript object Notation (JSON) format.
    CBORObject.ToJSONString(JSONOptions options)
    Converts this object to a text string in JavaScript object Notation (JSON) format, using the specified options to control the encoding process.
    void
    CBORObject.WriteJSONTo(OutputStream outputStream, JSONOptions options)
    Converts this object to a text string in JavaScript object Notation (JSON) format, as in the ToJSONString method, and writes that string to a data stream in UTF-8, using the given JSON options to control the encoding process.