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