@classmethod
def from_json(cls, jsonstr):
    """
        Create an xdict object from a JSON string

        Parameters
        ----------
        jsonstr : string
           Valid JSON string that represents an object

        Returns
        -------
        xdict object

        """
    import json
    out = cls()
    out.update(json.loads(jsonstr))
    return out
