We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config:
foo = "-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="
Code:
from pyhocon import ConfigFactory from pyhocon import HOCONConverter config = ConfigFactory.parse_file("test.conf", resolve=False) print HOCONConverter.to_properties(config)
Result:
foo = -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath\=
Expected result:
The text was updated successfully, but these errors were encountered:
Do we want to keep the quotes? In HOCON, double quotes are optional so after parsing, the quotes are gone. But I can fix the \= easily. Thanks.
\=
Sorry, something went wrong.
Well yes, I'd like to keep the quotes, turning off escaping inside them.
Quoted strings may always be used as an alternative when you need to write a character that is not permitted in an unquoted string.
Moreover, in current implementation it should also escape special symbols like : in unquoted strings.
:
darthbear
No branches or pull requests
Config:
Code:
Result:
Expected result:
The text was updated successfully, but these errors were encountered: