Hacker News new | ask | show | jobs
by verdverm 250 days ago
You can write lexicon (the schema) in whatever language you want and then transform them to JSON for sharing.

The record format should be something widely used and implemented for sending over the wire. There are lots of languages and ecosystems participating.

1 comments

  > The record format should be something widely used and implemented for sending over the wire.
That's just one of the parameters. It should also be something efficient if it's going to be sent over the wire at scale.
We're all sending JSON around all the time, it's not really that big a performance hit, especially in context of the formats transiting networks today (it's the same, lots and lots of JSON)
Note that it's CBOR being sent over WebSockets (afaik).
The firehose is CBOR, jetstream is JSON (which more people use)

I was mainly speaking more generally than atproto. Most APIs talk JSON these days