The HSD specification does not really specify which characters are valid for properties or methods. To figure out if spaces are allowed in keys I used the TOML syntax of escaping keys, so quoting them. I did expect an error, of course, but got an empty string.
The input
yields the following dict
which is in turn serialized as invalid HSD
The HSD specification does not really specify which characters are valid for properties or methods. To figure out if spaces are allowed in keys I used the TOML syntax of escaping keys, so quoting them. I did expect an error, of course, but got an empty string.
The input
yields the following dict
{'': 0}which is in turn serialized as invalid HSD