def _fromJSON(cls, jsonobject):
        """Generates a new instance of :class:`maspy.core.MzmlScan` from a
        decoded JSON object (as generated by
        :func:`maspy.core.MzmlScan._reprJSON()`).

        :param jsonobject: decoded JSON object

        :returns: a new instance of :class:`MzmlScan`
        """
        scanWindowList = _mzmlListAttribToTuple(jsonobject[0])
        params = [tuple(param) for param in jsonobject[1]]
        return cls(scanWindowList, params)
Generates a new instance of :class:`maspy.core.MzmlScan` from a
        decoded JSON object (as generated by
        :func:`maspy.core.MzmlScan._reprJSON()`).

        :param jsonobject: decoded JSON object

        :returns: a new instance of :class:`MzmlScan`