I have improved my Polymorph Data Encoding specification significantly, so it is now easier to understand. The specification is hosted in a GitHub repo (see link below).
I will now proceed to provide a proof-of-concept implementation of a reader and writer utility in Java - for anyone to use - or just to see how to implement reader and writer functionality in other languages.
If you are on the lookout for a data encoding that gives you (almost) everything you get with JSON, XML, YAML, CSV, MessagePack, CBOR, Protobuf, ION etc. - and yet also gives you compact tabular data, compact trees and cyclic object graphs (plus other nice features), with high performance and a compact encoding, Polymorph Data Encoding might be an option for you!
https://github.com/jjenkov/pde-pdl-specification/blob/main/pde-specification.md