You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project where I'm pulling Hadoop cluster configs into a dict then dumping as a JSON file that will be used to apply to new clusters post deployment. I need to parse / convert this JSON to HOCON in order to take advantage of HOCON's support of includes - for customer specific property substitution.
Pyhocon's module is fails to parse the following valid JSON:
"value": "{"critical":"83.34","warning":"99.99"}"
In pretty-form this looks like:
value: "{"critical":"83.34", "warning":"99.99"}"
Now, I could be mistaking the purpose of the pyhocon module. Does it support converting raw JSON or Python dicts to HOCON? Online lints don't seem to have a problem with my JSON so I would assume that automatically makes it valid HOCON.
Hello all.
I have a project where I'm pulling Hadoop cluster configs into a dict then dumping as a JSON file that will be used to apply to new clusters post deployment. I need to parse / convert this JSON to HOCON in order to take advantage of HOCON's support of includes - for customer specific property substitution.
Pyhocon's module is fails to parse the following valid JSON:
"value": "{"critical":"83.34","warning":"99.99"}"
In pretty-form this looks like:
value: "{"critical":"83.34", "warning":"99.99"}"
Now, I could be mistaking the purpose of the pyhocon module. Does it support converting raw JSON or Python dicts to HOCON? Online lints don't seem to have a problem with my JSON so I would assume that automatically makes it valid HOCON.
Any guidance would be greatly appreciated!
Thanks.
Please see #138 for more background.
The text was updated successfully, but these errors were encountered: