3 ms·
Do comments persist in binary serialization or is that a lossy one-way operation?
by ComputerGuru 5y ago
Do comments persist in binary serialization or is that a lossy one-way operation?
- the_girabbit 5y agoComments don’t persist in binary. Like white space, they are explicitly not part of the data model.
- seniorsassycat 5y agoI think the ion java library includes a AST parser that includes comments, but the ION data model doesn't. The binary format cannot include comments. I think many text parsers are missing libraries that edit documents in place, preserving formatting and comments.