This is maybe a weird question…
Does anyone know if JSON encoding “across the wire” is compatible between languages (particularly Rust and Python)?
I am using websockets (ws-rs) and have the interaction working using entirely Rust between client and server in a Request-Reply pattern.
I have now started into simple use of JSON for encoding the messages.
I would like to be able to call the “server code” from python so would probably need the Python JSON to talk to Rust JSON. Is this likely to work, or should I go for messagepack, or other?
Would it be “easier” or even better, to make a Rusty interface for Python to drive the JSON interface?
p,s, just spotted json-serde for Python … probably answered the question.