Camel-case translation is not quite okay
For example,
(cl-json:decode-json-from-string "{\"sha1\":123,\"sha3/384\":444}")
returns
((:SHA-1 . 123) (:SHA-3/384 . 444))
The part that I don't like here is that the names sha1
and sha3
get broken up; there shouldn't be a dash inbetween.
While this is something that the encoder repairs correctly, the :sha-3/384
becomes encoded badly:
{"sha1":123,"sha3\/384":444}
Please note the backslash inbetween.
While I understand that the first thing is hard to repair now (code will rely on the current behaviour), the second one should be fixed, perhaps.