Bytes

com.worxbend.kernel.event.AttrValue.Bytes
final case class Bytes(v: Binary)

Members list

Value members

Inherited methods

The value as it will come back out of AttrValue.fromJson after a JSON round-trip.

The value as it will come back out of AttrValue.fromJson after a JSON round-trip.

Time, Ref and Bytes all serialise to plain JSON strings and are indistinguishable from Text on the way back, because JSON Format 1.0 carries no per-extension type information — the receiver is expected to know. This makes that erasure explicit and testable instead of leaving it as a surprise in a round-trip property.

Attributes

Inherited from:
AttrValue
def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
def toJson: Json

The JSON Format 1.0 rendering.

The JSON Format 1.0 rendering.

Only Boolean and Integer have non-string JSON forms; everything else is a string, which is why the format is type-erasing in one direction — see canonical.

Attributes

Inherited from:
AttrValue