gurkankaymak / hocon

go implementation of lightbend's HOCON configuration library https://github.com/lightbend/config
MIT License
79 stars 17 forks source link

Quoted strings add quotes again! #38

Open robvadai opened 1 year ago

robvadai commented 1 year ago

When I deliberately quote my string e.g. because they're a URL, and use the GetString() method, now extra quotes are added on either side, making it unusable.

I suspect because of this change: https://github.com/gurkankaymak/hocon/pull/20

So, if I made no mistake and deliberately quote then please do not add extra quotes.

Removing my quotes produce this error:

values should have comma or ASCII newline ('\n') between them