parameters: (self, json_path)
docstring: Saves a json file representing this instance.
docstring_summary: Saves a json file representing this instance.
docstring_tokens: Saves a json file representing this instance .
function: def ToJsonFile(self, json_path):
      """Saves a json file representing this instance."""
      json_dict = self.ToJsonDict()
      with open(json_path, 'w') as output_file:
         json.dump(json_dict, output_file, indent=2)
function_tokens: def ToJsonFile ( self , json_path ) : json_dict = self . ToJsonDict ( ) with open ( json_path , 'w' ) as output_file : json . dump ( json_dict , output_file , indent = 2 )