project_config.serializers.text module

Array serializing for text files.

project_config.serializers.text.dumps(obj: List[str]) str[source]

Converts an array of lines to a string.

Parameters

obj – The array of lines to convert.

Returns

The string created from joining the array of lines.

Return type

str

project_config.serializers.text.loads(string: str) List[str][source]

Converts a string to an array of lines.

Parameters

string – The string to convert.

Returns

Array of lines created from string splitting.

Return type

list