@classmethod
def from_jsondict(cls, jsondict):
    """ initialize a DimArray from a json-compatible dictionary
        """
    jsondict = jsondict.copy()
    dima = cls(jsondict.pop('values', None), axes=jsondict.pop('labels',
        None), dims=jsondict.pop('dims', None))
    if 'meta' in jsondict:
        dima._metadata(jsondict['meta'])
    return dima
