@classmethod
def from_json(cls, s):
    """ return a DimArray, from a json string

        >>> s = '{"values":[[1.0,2.0,3.0],[4.0,5.0,6.0]],"dims":["a","b"],"labels":[[0,1],[10,11,12]],"shape":[2,3],"ndim":2,"meta":{}}'
        >>> DimArray.from_json(s)
        dimarray: 6 non-null elements (0 null)
        0 / a (2): 0 to 1
        1 / b (3): 10 to 12
        array([[1., 2., 3.],
               [4., 5., 6.]])
        """
    import json
    jsondict = json.loads(s)
    return cls.from_jsondict(jsondict)
