Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does the HOCON parser complain and refuse to proceed if it encounters a comma right before a closing curly brace like the JSON parsers with which I've interacted?


No no. The syntax is designed for usability, training commas are fine.

There's a little tutorial here, with a slider that shows how you can start with json and transform it. The right hand side is valid HOCON at every step:

https://conveyor.hydraulic.dev/15.0/configs/hocon/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: