HOCON double quotes vs single quotes

554 views
Skip to first unread message

Roger Alsing

unread,
Apr 8, 2015, 10:14:24 AM4/8/15
to akka...@googlegroups.com
According to the HOCON Spec, and JSON Spec, only double quotes " are supported for quoted strings.
We on the .NET side of things have seen this beeing brought up a few times now.
That is, people beleive that single quotes are allowed.
e.g 

`loggers = ['F.Q.N, Assembly']`

Which is parsed as: 'F.Q.N,
As it is treated as an unquoted hocon string which ends after the ","

Does the JVM HOCON Parser allow this even though it is not mentioned in the spec?

And if not, would it be OK to add support for this?

//Roger

Akka Team

unread,
Apr 10, 2015, 5:47:01 AM4/10/15
to akka-dev
Hi Roger,

I think you should ask this on the GH page of typesafe-config: https://github.com/typesafehub/config

We are not aware of all the design decisions and their rationale, so Havoc probably is the right person to ask (just file a ticket on that repo).

-Endre
 

//Roger

--
You received this message because you are subscribed to the Google Groups "Akka Developer List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Akka Team
Typesafe - Reactive apps on the JVM
Blog: letitcrash.com
Twitter: @akkateam
Reply all
Reply to author
Forward
0 new messages