Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5359
| From | Thomas Güttler <guettliml@thomas-guettler.de> |
|---|---|
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] Binärdaten in JSON |
| Date | 2018-11-30 15:01 +0100 |
| Message-ID | <mailman.25.1543586505.25456.python-de@python.org> (permalink) |
| References | (1 earlier) <mailman.4.1543506244.25456.python-de@python.org> <hmj5df-kdq.ln1@gate.homenet> <0e512eb9-3a48-7f63-b2d5-6f6acfa48da3@thomas-guettler.de> <2141174c-1718-f16e-f056-15af93d0b918@sschwarzer.net> <fb317431-58f6-ea29-94cd-c527e7ca840e@thomas-guettler.de> |
Am 30.11.18 um 11:27 schrieb Stefan Schwarzer: > Hallo Thomas, > > On 30/11/2018 09:48, Thomas Güttler wrote: >> Am 29.11.18 um 18:19 schrieb Thomas Orgelmacher: >>> Am 29.11.18 um 16:36 schrieb Thomas Güttler: >>>> 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: .... >>> >>> base64? >> >> Autofahrer an Polizist: Kann ich hier wenden? >> Polizist an Autofahrer: Sie dürfen, wenn Sie es können. >> >> Also wie ist das mit base64 gemeint? Wie ist das JSON ähnliches Datenformat, >> welches auch binäre Daten übertragen kann? >> >> Ich suche eine Lösung. Ein Datenformat. Ich suche nicht ein gebasteltes Work-around. > > Deine Frage war "Hat jemand schon mal mit binären > Daten in JSON gearbeitet?" > > Wenn man sich die von dir genannten Links nicht oder > nur flüchtig angeschaut hat, kann man deine Frage auch > durchaus so interpretieren, dass du binäre Daten > innerhalb von JSON übertragen willst. > > Zu "Ich suche eine Lösung": Wir wissen ja gar nicht, > was dein konkretes Problem ist, außer "mit binären > Daten in JSON arbeiten." Ja, sorry. Ich bin hier etwas genervt, weil die Grundlagen nicht klar sind. JSON kann jeder. Aber binäre Daten darin zu übertragen geht leider nicht. Mit base64 benötigt es einer expliziten Absprache und darum ist es aus meiner Sicht ein work-around. Vermutlich wird es das werden. Es kommt darauf an, was der Empfänger der Daten kann. Ich vermute MessagePack werden die vermutlich nicht können. Aber vielleicht liege ich da auch falsch. Ich finde es immer super, wenn es einen klaren Weg gibt. Also eine Art world-wide-agreement. Wie bei zB JSON. Aber bis jetzt gibt es das hier noch nicht. Gruß, Thomas -- Thomas Guettler http://www.thomas-guettler.de/ I am looking for feedback: https://github.com/guettli/programming-guidelines
Back to de.comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
[Python-de] Binärdaten in JSON Thomas Güttler <guettliml@thomas-guettler.de> - 2018-11-29 16:36 +0100
Re: [Python-de] Binärdaten in JSON Thomas Orgelmacher <trash@odbs.org> - 2018-11-29 18:19 +0100
Re: [Python-de] Binärdaten in JSON Arnold Krille <arnold@arnoldarts.de> - 2018-11-29 19:46 +0100
Re: [Python-de] Binärdaten in JSON Thomas Güttler <guettliml@thomas-guettler.de> - 2018-11-30 09:48 +0100
Re: [Python-de] Binärdaten in JSON Thomas Orgelmacher <trash@odbs.org> - 2018-11-30 19:24 +0100
Re: [Python-de] Binärdaten in JSON Thomas Orgelmacher <trash@odbs.org> - 2018-11-30 19:37 +0100
Re: [Python-de] Binärdaten in JSON Stefan Schwarzer <sschwarzer@sschwarzer.net> - 2018-11-30 11:27 +0100
Re: [Python-de] Binärdaten in JSON Hardy Erlinger <hardy.erlinger@posteo.de> - 2018-11-30 11:40 +0100
Re: [Python-de] Binärdaten in JSON Thomas Güttler <guettliml@thomas-guettler.de> - 2018-11-30 15:01 +0100
Re: [Python-de] Binärdaten in JSON Thomas Jollans <tjol@tjol.eu> - 2018-12-03 10:21 +0100
Re: [Python-de] Binärdaten in JSON Thomas Güttler <guettliml@thomas-guettler.de> - 2018-12-04 10:25 +0100
Re: [Python-de] Binärdaten in JSON Thomas Güttler <guettliml@thomas-guettler.de> - 2018-12-13 12:14 +0100
[Python-de] IFF Format: Dict? Thomas Güttler <guettliml@thomas-guettler.de> - 2018-12-14 09:04 +0100
Re: [Python-de] IFF Format: Dict? Thomas Güttler <guettliml@thomas-guettler.de> - 2019-01-04 14:31 +0100
Re: [Python-de] IFF Format: Dict? Thomas Orgelmacher <trash@odbs.org> - 2019-01-05 20:58 +0100
Re: [Python-de] IFF Format: Dict? Armin Stross-Radschinski <developer@acsr.de> - 2018-12-14 10:31 +0100
[Python-de] IFF Format Verwendung Christopher Arndt <chris@chrisarndt.de> - 2018-12-14 14:53 +0100
Re: [Python-de] Binärdaten in JSON Stefan Behnel <python-de@behnel.de> - 2018-12-06 09:51 +0100
csiph-web