Serializers
A script for serializers in the careamics package.
array_to_json(arr)
to_numpy(lst)
Deserialize a list or string representing a list into np.ndarray.
Parameters:
-
lst(list) –List or string representing a list with the array content to be deserialized.
Returns:
-
ndarray–The deserialized array.