project_config.serializers.ini module

INI to JSON converter.

project_config.serializers.ini.dumps(obj: Any) str[source]

Converts a JSON object to an INI file string.

Parameters:

obj (dict) – JSON object to convert.

Returns:

Conversion result.

Return type:

str

project_config.serializers.ini.loads(string: str) dict[str, Any][source]

Converts an INI file string to JSON.

Parameters:

string (str) – INI file string to convert.

Returns:

Conversion result.

Return type:

dict