Array.to_json (function)
def to_json(self, **kwargs)
Dump a representation of the nparray object to a json-formatted string. The nparray object should then be able to be fully restored via nparray.from_json.
Arguments
**kwargs
: all keyword arguments are sent to json.dumps
Returns
- (string): json formatted string.