obspy.io.json.core.get_dump_kwargs

get_dump_kwargs(minify=True, no_nulls=True, **kwargs)[source]

Return dict of kwargs for json.dump() or json.dumps().

Parameters:
  • minify (bool) – Use no spaces between separators (True)

  • no_nulls (bool) – Omit null values and empty sequences/mappings (True)