def __call__(self):
        """When called, return the Vega grammar as a Python data structure."""

        return json.loads(json.dumps(self, default=self.encoder))
def __call__ ( self ) : return json . loads ( json . dumps ( self , default = self . encoder ) )
When called, return the Vega grammar as a Python data structure.