I search a Python library which supports a JSON like format which supports binary data.
- nested data structures like JSON
- support for binary data (without additional base64 encoding/decoding of binary parts)
- open source library (not GPL) for reading and writing for Python and Java
- If no binary data is transferred the format on the wire should be valid JSON.