bjdata library
Classes
- BjdataBlockNotationEncoder
- Encoder that encodes a single object as a BJData block notation string.
- BjdataCodec
- A BjdataCodec encodes objects to BJData and decodes BJData to objects.
- BjdataConfig
- How BJData is written.
- BjdataDecoder
- This class parses BJData strings and builds the corresponding objects.
- BjdataEncoder
- Encoder that encodes a single object as a BJData buffer.
Enums
- BjdataSoaLayout
- How a list that is a uniform table of records is written.
- BjdataVersion
- The revision of the BJData specification an encoder writes.
Constants
- bjdata → const BjdataCodec
Functions
-
bjdataBlockNotation(
Object? object, {Object? toEncodable(Object? nonEncodable)?, String? indent, BjdataConfig config = const BjdataConfig()}) → String -
Converts
objectinto a BJData block notation string. -
bjdataDecode(
List< int> source, {Object? reviver(Object? key, Object? value)?}) → dynamic -
Parses the BJData
sourceand returns the resulting object. -
bjdataEncode(
Object? object, {Object? toEncodable(Object? nonEncodable)?, BjdataConfig config = const BjdataConfig()}) → List< int> -
Converts
objectinto BJData.
Exceptions / Errors
- BjdataCyclicError
- Reports that an object could not be stringified due to cyclic references.
- BjdataUnsupportedObjectError
- Error thrown by BJData serialization if an object cannot be serialized.