Re:Scuttlebot: Peer-to-peer database, identity provider, and...
by kbumsik on Sunday April 19, 2020 @06:46AM
(#22914886)
> In brief, the rules are:
- Two spaces for indentation.
- Dictionary entries and list elements each on their own line.
- etc...
This is so weird to me. Why a protocol needs a strict, opinionated format of JSON? If they really need a very specific format of JSON, why they even bother JSON? There are better options like protobuf.
This seems the worst example of "Use JSON for everything".
Re:Scuttlebot: Peer-to-peer database, identity provider, and...
by jitschlit on Monday April 20, 2020 @02:03PM
(#22926553)
Just a guess, but maybe so they can reliable hash it?
Re:Scuttlebot: Peer-to-peer database, identity provider, and...
by viraptor on Saturday April 18, 2020 @07:55PM
(#22912166)
This is terrible. It's basically not JSON anymore. It's some custom text protocol with similar value escaping...
If they wanted both the descriptions to be visible and the order to be preserved, they could use:
[ ["previous", "..."], ["author", "..."], ...
To me it's worse that key order must be preserved, which this standard does not specify the way I understand it.
Source: https://ssbc.github.io/scuttlebutt-protocol-guide/#message-f...