3 ms·
> Can you throw a JSON-serializable data structure (lists, dict, strings, numbers) into SharedMemory? You can throw a JSON-serialized data structure into Share
by dragonwriter 1y ago
> Can you throw a JSON-serializable data structure (lists, dict, strings, numbers) into SharedMemory?
You can throw a JSON-serialized data structure into SharedMemory, sure, since you can store strings.
> The examples in the docs seem to pass byte strings and byte arrays around
The examples in the docs largely use ShareableList, which itself can contain any of int, float, bool, str, bytes, and None-type values.