hahaha fair enough. It does sound like a lot of extensions to JSON, my question would be whether it’s losslessly convertible to JSON, so things like NaN/Dates aren’t? I think if you have a file format that’s 1:1 convertible to/from JSON it’ll then need no explanation.
-
-
Replying to @glenmaddern @rickhanlonii
Going back to my original format but without the extra data types sounds like a good idea then and would fulfill those requirements. I guess I'll throw out the TOML parser I just wrote... I'll see how I'm feeling about it tomorrow lol
3 replies 0 retweets 3 likes -
I feel good about it. Rough draft, not meant for public consumption, just to detail the design. What do ya'll think? (I already built it)https://gist.github.com/sebmck/7389efa51ca015f98f170e0d6f5f49e9 …
8 replies 0 retweets 13 likes -
Replying to @sebmck @rickhanlonii
Love the spec. Not sure on the name, “son” just feels a little… short? It’s definitely an extension to JSON, not a subset? RJson could be Rome-JSON or Reworked-JSON or something. Or you could go PJson (practical/pliable/pretty) or UJson (unrestricted)?
2 replies 0 retweets 3 likes -
Replying to @glenmaddern @sebmck
Fwiw I don't like rjson, it's rome specific and doesn't roll of the tongue like at all
3 replies 0 retweets 1 like -
I just hate that now tooling will not like it. Think prettier, eslint, intellij etc. So would be nice if Rome will allow plain jane json, but for fancies rjson and you'd have to vet the tradeoffs
2 replies 0 retweets 0 likes -
Why does eslint and prettier need to like it?
1 reply 0 retweets 0 likes -
Tabs vs spaces. Prettier will format that file.
1 reply 0 retweets 0 likes -
Rome has a formatter that works with JS, regular JSON, and any special JSON flavour that we go with (if any)
1 reply 0 retweets 0 likes -
Is that to say prettier will become defunct?
2 replies 0 retweets 0 likes
If you wanted it to. Rome has (or will have) the functionality of a dozen different tools.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 