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
Hi,
I am unable to decode a valid HOCON config using pyhocon, the following is a minimal reproducible example.
pyhocon
This would be the equivalent JSON:
{ "\"": "hi!" }
As per my understanding this should be also a valid HOCON file aswell.
But this result in an error when decoding via pyhocon:
>>> from pyhocon import ConfigFactory >>> ConfigFactory.parse_string(r'{ "\"" = "not cool bro :(" }') Traceback (most recent call last): <... edited ...> found end of text (at char 28), (line:1, col:29)
Oddly enough, using the unicode escape sequence for the same character works:
>>> ConfigFactory.parse_string(r'{ "\u0022" = "not cool bro :(" }') ConfigTree([('\\u0022', 'not cool bro :(')])
Cheers!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I am unable to decode a valid HOCON config using
pyhocon
, the following is a minimal reproducible example.This would be the equivalent JSON:
As per my understanding this should be also a valid HOCON file aswell.
But this result in an error when decoding via
pyhocon
:Oddly enough, using the unicode escape sequence for the same character works:
Cheers!
The text was updated successfully, but these errors were encountered: