Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5358
| From | Thomas Jollans <tjol@tjol.eu> |
|---|---|
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] MessagePack Re: Binärdaten in JSON |
| Date | 2018-11-30 13:31 +0100 |
| Message-ID | <mailman.24.1543581091.25456.python-de@python.org> (permalink) |
| References | <16bf5ba5-26db-dddf-0a42-ddc61670a4ae@thomas-guettler.de> <7f71325e-964c-d453-373c-4f2e5d18e129@chrisarndt.de> <dd16fbdd-f53e-c120-d25f-069e63bf00fe@thomas-guettler.de> <23c19cce-56fd-aa40-fceb-8f07313badc3@tjol.eu> |
On 30/11/2018 09:55, Thomas Güttler wrote: > > Ja, MessagePack sieht gut aus. Danke für den Hinweis. > Ähnliche wie ProtocolBuffers. Aber bei ProtocolBuffers ist > ein Schema zwingend nötig. Bei MessagePack anscheinend nicht. > Das klingt MessagePack für mich erstmal flexibler. msgpack wird u.a. auch bei pandas für eine Binärrepräsentation von Tabellen benutzt. Ist jedenfalls sehr flexibel und kann ungefähl das gleiche wie JSON (nur ein bisschen flexibler und halt binär) > > > Am 29.11.18 um 23:11 schrieb Christopher Arndt: >> 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? >> >> Wenn ees nur um den gelegentlichen Buinärstring in JSOn geht, würde ich >> diesen auch einfach mit base64 kodieren. >> >> Ansonsten, wie wäre es mit msgpack? >> >> https://en.wikipedia.org/wiki/MessagePack >> >> Meiner Erfahrung nach zwar langsamer als Pickle aber schneller als JSON >> und sicherer als ersteres. >> >> >> Chris >> _______________________________________________ >> python-de maillist - python-de@python.org >> https://mail.python.org/mailman/listinfo/python-de >> > -- Thomas Jollans m ☎ +31 6 42630259 e ✉ tjol@tjol.eu
Back to de.comp.lang.python | Previous | Next | Find similar
Re: [Python-de] MessagePack Re: Binärdaten in JSON Thomas Jollans <tjol@tjol.eu> - 2018-11-30 13:31 +0100
csiph-web