-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serialization inconsistent when dash is used #3
Comments
Sorry, I just noticed this in the documentation: Any reason why not? |
There's some freedom here in how to translate strings from what JavaScript offers. I'd argue that there are three different alternatives:
Because of this ambiguity, it will be best for programmers to explicitly specify the translation method (I have forgotten the details of the code, but I thought there was a way to specify translation methods explicitly). However, it would also be good for the default method to do something reasonable that at least mostly preserves round-tripping. |
Thanks for the treatise :) For now I'll probably resort to i. to avoid trouble.. ii. would be ideal (although the -- solution is gonna collide with the "_".. so another symbol would be needed) |
I noticed the round-trip problem as well, caused me some headache to pin down: |
"hello-world" becomes "helloWorld" after serialization through CL-JSON
The text was updated successfully, but these errors were encountered: