You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the times I use kebab-case keys for maps. In JavaScript, kebab-case is not well supported and t is most common to use camelCase for JSON object keys.
When writing REST API, mainly when the client is not implemented in Clojure, the body JSON object keys are camelCase and it will be nice to be able to convert it to kebab-case when serializing the request.
Most of the times I use
kebab-case
keys for maps. In JavaScript, kebab-case is not well supported and t is most common to usecamelCase
for JSON object keys.When writing REST API, mainly when the client is not implemented in Clojure, the body JSON object keys are camelCase and it will be nice to be able to convert it to kebab-case when serializing the request.
It will be helpful to provide some kind of key converter function (i.e
:key-fn
) or provide a JSON serializer function as a dependency.I hope it makes sense not only to me...
The text was updated successfully, but these errors were encountered: