4 ms·
> Readable multiple line indented text. Then > <Book> <Name=A Plan> <Author> <Name=Eric Harrison> <Mobile=+64 24 240 990> <$>
by Oras 2y ago
> Readable multiple line indented text.
Then
> <Book>
<Name=A Plan>
<Author>
<Name=Eric Harrison>
<Mobile=+64 24 240 990>
<$>
<<Reviews>
Fascinating.
<&>
Of interest.
<&>
Worth reading.
<<$>
<$>
Does that look readable to anyone?!
- GeneThomas 2y agoThe “readable indented text” refers to https://xenondata.org/#scalars https://xenondata.org/#scalars where multiple lines of text can be indented and extracted as expected. One can argue that JSON is not readable due to requiring escaping (\n) for multiple line strings.
- Solomoriah 2y agoThis is not enough of an improvement over JSON to justify choosing another format, given that the new format is (A) not recognized and (B) uses even more special characters. (By "not recognized" I actually mean there are no implementations given for any languages, much less accepted standard implementations.)
- GeneThomas 2y agohttps://news.ycombinator.com/item?id=42038004#42038525 https://news.ycombinator.com/item?id=42038004#42038525
- TZubiri 2y agoTo be fair, you omitted the indentations
- GeneThomas 2y agoI believe it is readable, what else could that mean but a Book object with the given name, the author details and an array of three one-line reviews. <Book> <Name=A Plan> <Author> <Name=Eric Harrison> <Mobile=+64 24 240 990> <$> <<Reviews> Fascinating. <&> Of interest. <&> Worth reading. <$>> <$>