TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: LCON – Ludicrously Compact Object Notation

35 pointsby ar-nelsonover 10 years ago

10 comments

Stratoscopeover 10 years ago
Suggestion: Show both the JSON and LCON representation for the examples. This would help illustrate the difference between the formats.
评论 #8214861 未加载
otterleyover 10 years ago
1. What problem are you solving with this? This really seems like a solution in search of a problem.<p>2. There&#x27;s no emitter, just a parser. This suggests to me that there&#x27;s no such thing as a canonical LCON transformation for a given input. This is bad.
评论 #8214854 未加载
评论 #8214844 未加载
8ig8over 10 years ago
I love yaml because I can see it, and it (usually) makes sense. Same thing with Markdown. They both visually represent the data&#x2F;content in a manner that my brain gets.<p>This seems less obvious (or slower to digest) but I&#x27;ve stared at yaml and markdown for a while now.
TazeTSchnitzelover 10 years ago
This is compact, sure, but I have a hard time reading it.<p>I&#x27;ll stick with JSON.
评论 #8214867 未加载
评论 #8214792 未加载
评论 #8214789 未加载
azeirahover 10 years ago
I like how this is presented to be ludicrously compact, but it uses double quotes &quot;&quot; instead of single quotes &#x27;&#x27;. Everybody knows that single quotes take up less space!
tmityhover 10 years ago
If you&#x27;re really looking for efficiency, take a look at baconification ;)<p><a href="http://pastebin.com/RGRfewBY" rel="nofollow">http:&#x2F;&#x2F;pastebin.com&#x2F;RGRfewBY</a><p>...comes in handy for those occasions when the courts order you to hand over some data - especially effective when printed.
granttimmermanover 10 years ago
For anybody who wants a little bit more structure than LCON but less clutter than JSON, I&#x27;d recommend checking out CSON.<p><a href="https://github.com/bevry/cson" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bevry&#x2F;cson</a>
评论 #8215148 未加载
评论 #8214864 未加载
jrvarela56over 10 years ago
For another compact format (exclusive to homogenous collections), checkout JSONH <a href="https://github.com/WebReflection/JSONH" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;WebReflection&#x2F;JSONH</a>
vbitover 10 years ago
I&#x27;m waiting for ubjson <a href="http://ubjson.org" rel="nofollow">http:&#x2F;&#x2F;ubjson.org</a> which is probably the most compelling json replacement I&#x27;ve seen yet.
jandyover 10 years ago
How does this compare to JSON when gzipped? I imagine any size benefit of stripping colons and parenthesis is negligible compared to a good compression.
评论 #8214914 未加载