Uses of Class
com.upokecenter.cbor.JSONOptions
Packages that use JSONOptions
-
Uses of JSONOptions in com.upokecenter.cbor
Fields in com.upokecenter.cbor declared as JSONOptionsModifier and TypeFieldDescriptionstatic final JSONOptionsJSONOptions.DefaultThe default options for converting CBOR objects to JSON.Methods in com.upokecenter.cbor with parameters of type JSONOptionsModifier and TypeMethodDescriptionstatic CBORObjectCBORObject.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 CBORObjectCBORObject.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 CBORObjectCBORObject.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 CBORObjectCBORObject.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 CBORObjectCBORDataUtilities.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 CBORObjectCBORDataUtilities.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 CBORObjectCBORDataUtilities.ParseJSONNumber(char[] chars, int offset, int count, JSONOptions options) Parses a number from a sequence ofchars whose format follows the JSON specification (RFC 8259) and converts that number to a CBOR object.static CBORObjectCBORDataUtilities.ParseJSONNumber(char[] chars, JSONOptions options) Parses a number from a sequence ofchars whose format follows the JSON specification (RFC 8259) and converts that number to a CBOR object.static CBORObjectCBORDataUtilities.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 CBORObjectCBORDataUtilities.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 CBORObjectCBORObject.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.voidCBORObject.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.