I’d like to dump structured data (mostly tabular with some additional meta data) to a file as input for another program. However, some data fields can be arbitrary unicode data. Do you know if PyYaml is a failsafe solution (which for example escapes all problem cases) or which other simple file based solution would you suggest? I’m afraid that special characters break the format or the parser.
I’d like to dump structured data (mostly tabular with some additional meta data) to
Share
Any good serializer will handle arbitrary Unicode, by converting it into Unicode point references.
With YAML:
With JSON: