@classmethod
def from_json(cls, project, _json, client_api, datasets=None, is_fetched=True):
    """
        Build a Dataset entity object from a json

        :param is_fetched: is Entity fetched from Platform
        :param _json: _json response from host
        :param project: dataset's project
        :param datasets: Datasets repository
        :param client_api: client_api
        :return: Dataset object
        """
    inst = cls(metadata=_json.get('metadata', None), directoryTree=_json.
        get('directoryTree', None), itemsCount=_json.get('itemsCount', None
        ), annotated=_json.get('annotated', None), projects=_json.get(
        'projects', None), creator=_json.get('creator', None), items_url=
        _json.get('items', None), export=_json.get('export', None), name=
        _json.get('name', None), url=_json.get('url', None), id=_json.get(
        'id', None), datasets=datasets, client_api=client_api, project=project)
    inst.is_fetched = is_fetched
    return inst
