parameters: (self)
return_statement: return json.dumps(self.to_dict(), indent=2, sort_keys=True) + "\n"
docstring: Serializes this instance to a JSON string.
docstring_summary: Serializes this instance to a JSON string.
docstring_tokens: Serializes this instance to a JSON string .
function: def to_json_string(self):
      """Serializes this instance to a JSON string."""
      return json.dumps(self.to_dict(), indent=2, sort_keys=True) + "\n"
function_tokens: def to_json_string ( self ) : return json . dumps ( self . to_dict ( ) , indent = 2 , sort_keys = True ) + "\n"