Given the HOCON config:
and the following code:
from pyhocon import ConfigFactory
config = ConfigFactory.parse_file("test.conf")
print repr(config.get_string("my_string_value"))
You get the following output:
When I expected it to output:
The code for get_string has special handling for "True" and "False". This special handling should probably be moved to get_bool.
Given the HOCON config:
and the following code:
You get the following output:
When I expected it to output:
The code for
get_stringhas special handling for "True" and "False". This special handling should probably be moved toget_bool.