pandera.io.xarray_io.from_json

pandera.io.xarray_io.from_json(source)[source]

Create a DataArraySchema or DatasetSchema from json.

Parameters:

source – str/Path to json file, json string, or readable stream.

Returns:

DataArraySchema or DatasetSchema.