@staticmethod
def from_json(blob):
    """
        Recreate a filesystem instance from JSON representation

        See ``.to_json()`` for the expected structure of the input

        Parameters
        ----------
        blob: str

        Returns
        -------
        file system instance, not necessarily of this particular class.
        """
    from .registry import _import_class, get_filesystem_class
    import json
    dic = json.loads(blob)
    protocol = dic.pop('protocol')
    try:
        cls = _import_class(dic.pop('cls'))
    except (ImportError, ValueError, RuntimeError, KeyError):
        cls = get_filesystem_class(protocol)
    return cls(*dic.pop('args', ()), **dic)
