You're looking for something that's readable but more efficient and smaller than #JSON or #YAML?
Structure data with #ASCII control codes like people did in 1963!

https://trans.github.io/c0data/

There's also a library in @CrystalLanguage available.

#crystallang #crystallanguage

C0DATA — Structure Data with Control Codes

@alexanderadam @CrystalLanguage That looks very curious, I'll give it a try later. Thanks for sharing!
@alexanderadam @CrystalLanguage That's sounds very interesting. Have you heard of any Ruby implementation?

@rorvswild I heard you might consider working on one 😂

…probably you can even fork the repo, remove and add some files, do some `git mv` (to preserve the file history) and remove the type definitions.

My guess is that this would already be 90% of what's needed.

@alexanderadam @CrystalLanguage
I was wondering about those ASCII control codes before, and now this shows how you can put them to good use.
@alexanderadam @CrystalLanguage
While the format is technically human-readable, it needs tooling to be even decent at that. So I'd say it's closer to binary formats than YAML in terms of readability.
Note that the examples all use newlines and indents, but in practice, the format would probably be more densely packed.

@straightshoota @CrystalLanguage I agree that it's rather a niche.

I think it needs at least editor support — then we'd be good.