[Python-de] Binärdaten in JSON

Michael Ziegler diese-addy at funzt-halt.net
Fr Nov 30 02:07:18 EST 2018


Protobuf hat den aus-meiner-Sicht-Nachteil, dass man ein empfangenes
Datenpäckchen nicht decoden kann ohne eine davon getrennte Schema-Datei
zu haben, die dann auch noch compiled werden muss. Bei CBOR und JSON
brauchst du nichts weiter als das Datenhäppchen, um es lesen zu können.

Michael.

Dinu Gherman wrote:
> Oder doch gleich protobuf?
> 
> Gruß,
> Dinu
> 
>> Am 29.11.2018 um 16:36 schrieb Thomas Güttler <guettliml at thomas-guettler.de>:
>>
>> Hat jemand schon mal mit binären Daten in JSON gearbeitet?
>>
>> Welche Lösungsvariante habt ihr gewählt?
>>
>> V1: http://bsonspec.org/
>> V2: http://bjson.org/
>> V3: https://github.com/FasterXML/smile-format-specification
>> V4: ....
>>
>> Gruß,
>> Thomas
>>
>>
>> -- 
>> Thomas Guettler http://www.thomas-guettler.de/
>> I am looking for feedback: https://github.com/guettli/programming-guidelines
>> _______________________________________________
>> python-de maillist  -  python-de at python.org
>> https://mail.python.org/mailman/listinfo/python-de
> 
> _______________________________________________
> python-de maillist  -  python-de at python.org
> https://mail.python.org/mailman/listinfo/python-de
> 


Mehr Informationen über die Mailingliste python-de