Consider a list of numpy arrays: I would like to serialize this to transmit to a Javascript REST client. The preferred approach is Efficiently serialize into a binary-safe format and bake that into a Base64 encoded field in a JSON object Transmit the JSON object over http Receive the JSON object into javascript listener. Base64 decode the field and deserialize