package
0.0.0-20191010152823-76abfc1181a7
Repository: https://github.com/lyraproj/pcore.git
Documentation: pkg.go.dev
# Functions
DataToJson streams the given value to a Json ValueConsumer using a Serializer.
JsonToData reads JSON from the given reader and streams the values to the given ValueConsumer.
NewDeserializer creates a new Collector that consumes input and creates a RichData Value.
NewJsonStreamer creates a new streamer that will produce JSON when receiving values.
NewSerializer returns a new Serializer.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
PcoreRefKey is the key used to signify the ordinal number of a previously serialized value.
PcoreTypeBinary is used for binaries serialized using base64.
PcoreTypeDefault is the type key used for Default.
PcoreTypeHash is used for hashes that contain keys that are not of type String.
PcoreTypeKey is the key used to signify the type of a serialized value.
PcoreTypeSensitive is the type key used for sensitive values.
PcoreValueKey is used when the value can be represented as, and recreated from, a single string that can be passed to a `from_string` method or an array of values that can be passed to the default initializer method.
# Interfaces
Serializer is a re-entrant fully configured serializer that streams the given value to the given consumer.