Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5350
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Thomas Güttler <guettliml@thomas-guettler.de> |
| Newsgroups | de.comp.lang.python |
| Subject | [Python-de] MessagePack Re: Binärdaten in JSON |
| Date | Fri, 30 Nov 2018 09:55:50 +0100 |
| Lines | 33 |
| Message-ID | <mailman.16.1543568152.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> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | news.uni-berlin.de SeKFW3Vw1dqDrqFD8EPQ2gy9Q6DQx5dH/sEoq1zqtt4A== |
| Return-Path | <guettliml@thomas-guettler.de> |
| X-Original-To | python-de@python.org |
| Delivered-To | python-de@mail.python.org |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
| In-Reply-To | <7f71325e-964c-d453-373c-4f2e5d18e129@chrisarndt.de> |
| Content-Language | de-DE |
| X-BeenThere | python-de@python.org |
| X-Mailman-Version | 2.1.29 |
| Precedence | list |
| List-Id | Die Deutsche Python Mailingliste <python-de.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-de/> |
| List-Post | <mailto:python-de@python.org> |
| List-Help | <mailto:python-de-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <dd16fbdd-f53e-c120-d25f-069e63bf00fe@thomas-guettler.de> |
| X-Mailman-Original-References | <16bf5ba5-26db-dddf-0a42-ddc61670a4ae@thomas-guettler.de> <7f71325e-964c-d453-373c-4f2e5d18e129@chrisarndt.de> |
| Xref | csiph.com de.comp.lang.python:5350 |
Show key headers only | View raw
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. 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 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 | Find similar
[Python-de] MessagePack Re: Binärdaten in JSON Thomas Güttler <guettliml@thomas-guettler.de> - 2018-11-30 09:55 +0100
csiph-web