neuroglancer.to_json_dump(state, indent=None, separators=None) Returns the JSON-encoded text representation of the viewer state object.