Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
a string will be returned.
Returns
-------
string
If file_name == None, a string of the JSON serialization is returned.
"""
params = dict(resolution=self.resolution,
cache=self.cache,
manifest_file=self.manifest_file,
ccf_version=self.ccf_version,
base_uri=self.base_uri,
version=self.version)
if file_name is None:
return json_utilities.write_string(params)
json_utilities.write(file_name, params)