OxL Reference

§9. Serialisation

In this chapter

9.1 Serializabledata and enum automatically implement Serializable if all their fields are serialisable.
9.2 Field numbers and schemaEvery field of a data and every variant of an enum has a stable tag (the number in the wire format).
9.3 The OxL wire formatThe OxL binary format is protobuf 3 encoding with the following mappings
9.4 Decoding and validationA missing required field → DecodeError.Missing.
9.5 User-defined serialisersLevel 1 — representation through another type (Repr), acts in all formats and in schemas
9.6 Zero-copy viewsdecode_view<T>(buf

Source: docs/spec/oxl-standard.en.md