def to_json(self, lev=<NUM_LIT:0>, indent=None):
if lev:<EOL><INDENT>return self.to_dict(lev + <NUM_LIT:1>)<EOL><DEDENT>else:<EOL><INDENT>return json.dumps(self.to_dict(<NUM_LIT:1>), indent=indent)<EOL><DEDENT>
Serialize the content of this instance into a JSON string.

:param lev: 
:param indent: Number of spaces that should be used for indentation 
:return: