(self, json_string)
Feed the exporter with a JSON string.

        Args:
            json_string: JSON formatted string.
Feed the exporter with a JSON string.
Feed the exporter with a JSON string .
def from_string(self, json_string):
        """Feed the exporter with a JSON string.

        Args:
            json_string: JSON formatted string.
        """
        blocks = json.loads(json_string)
        if not isinstance(blocks, (list, tuple)):
            return

        for block in blocks:
            self.from_block_dict(block)
def from_string ( self , json_string ) : blocks = json . loads ( json_string ) if not isinstance ( blocks , ( list , tuple ) ) : return for block in blocks : self . from_block_dict ( block )