Generates a new instance of :class:`maspy.core.Sai` from a decoded
        JSON object (as generated by :func:`maspy.core.Sai._reprJSON()`).

        :param jsonobject: decoded JSON object

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

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

        :param jsonobject: decoded JSON object

        :returns: a new instance of :class:`Sai`
        """
        newInstance = cls(jsonobject[0], jsonobject[1])
        for arrayType, jsonEntry in viewitems(jsonobject[2]):
            arrayEntry = {'dataProcessingRef': jsonEntry['dataProcessingRef'],
                          'params': [tuple(_) for _ in jsonEntry['params']]
                          }
            newInstance.arrayInfo[arrayType] = arrayEntry

        return newInstance