collection_tool/utility/json_utils.py
def save_json(filepath, data):
    """
    Saves data in JSON format to file. Special python objects are
    handled by custom serializers.

    :param filepath: path of .json file in which to save data
    :param data: data to save
    """

    with open(filepath, mode='w') as f:
        simplejson.dump(data, f, default=_to_json, tuple_as_array=False, indent=4)

    Saves data in JSON format to file. Special python objects are
    handled by custom serializers.

    :param filepath: path of .json file in which to save data
    :param data: data to save
    
Saves data in JSON format to file. Special python objects are
handled by custom serializers.
Saves data in JSON format to file . Special python objects are handled by custom serializers .
def save_json(filepath, data):
    with open(filepath, mode='w') as f:
        simplejson.dump(data, f, default=_to_json, tuple_as_array=False, indent=4)
def save_json ( filepath , data ) : with open ( filepath , mode = 'w' ) as f : simplejson . dump ( data , f , default = _to_json , tuple_as_array = False , indent = 4 )
Saves data in JSON format to file.
Saves data in JSON format to file .
"""
    Saves data in JSON format to file. Special python objects are
    handled by custom serializers.

    :param filepath: path of .json file in which to save data
    :param data: data to save
    """
filepath
path of .json file in which to save data
path of . json file in which to save data
data
data to save
data to save