News for hackers. Stuff that matters.
Re:Son: A minimal subset of JSON for machine-to-machine comm... by wirrbel on Sunday December 10, 2017 @07:52AM (#15891191)
CBOR or MsgPack are binary JSON-like encodings.

ProtoBuf depend on the schema definitions and encoder/decoder generation. Without the schema, you cannot read the format (theoretically), if you want your data to be read easily, JSON or CBOR or MsgPack are your best options.

Re:Son: A minimal subset of JSON for machine-to-machine comm... by RantyDave on Sunday December 10, 2017 @11:29PM (#15895163)
I've been using cbor with python and it's been just fantastic. In particular it: Can send a "None"; Can tell the difference between bytes and unicode; and is real fast.
Re:Son: A minimal subset of JSON for machine-to-machine comm... by ithkuil on Sunday December 10, 2017 @08:36AM (#15891302)
Encoding/decoding of protobufs can be done dynamically if you know the schema.
Re:Son: A minimal subset of JSON for machine-to-machine comm... by wirrbel on Sunday December 10, 2017 @05:24PM (#15893815)
knowing the schema also means knowing the right revision of the schema. If you store messages for a while, this already can be a problem.
Re:Son: A minimal subset of JSON for machine-to-machine comm... by ithkuil on Monday December 11, 2017 @05:35AM (#15896206)
schemaless is never really schemaless: the code that accesses your data is implicitly assigning it a schema, so you'll have the same problem. FWIW, protobuf schemas are designed to be friendly for back and forward compatibility; unknown fields can be ignored and "required fields are generally considered harmful", interesting read: https://github.com/google/protobuf/issues/2497