(dash->underscore-keys m)Converts all top-level keys (including nested maps) in m to use dashes
instead of underscores as word separators
Converts all top-level keys (including nested maps) in `m` to use dashes instead of underscores as word separators
(dashes->underscores str)Accepts a string or a keyword as an argument, replaces all occurrences of the dash/hyphen character with an underscore, and returns the same type (string or keyword) that was passed in. This is useful for translating data structures from their wire format to the format that is needed for JDBC.
Accepts a string or a keyword as an argument, replaces all occurrences of the dash/hyphen character with an underscore, and returns the same type (string or keyword) that was passed in. This is useful for translating data structures from their wire format to the format that is needed for JDBC.
(pprint-json-parse-exception error query)Returns a parsed JsonParseException message. From the second line of the error message, the line and column index are extracted, so that we can place an arrow, pointing at that position.
Returns a parsed JsonParseException message. From the second line of the error message, the line and column index are extracted, so that we can place an arrow, pointing at that position.
(re-quote s)Quotes s so that all of its characters will be matched literally.
Quotes s so that all of its characters will be matched literally.
(underscore->dash-keys m)Converts all top-level keys (including nested maps) in m to use underscores
instead of underscores as word separators
Converts all top-level keys (including nested maps) in `m` to use underscores instead of underscores as word separators
(underscores->dashes s)Accepts a string or a keyword as an argument, replaces all occurrences of the underscore character with a dash, and returns the same type (string or keyword) that was passed in. This is useful for translating data structures from their JDBC-compatible representation to their wire format representation.
Accepts a string or a keyword as an argument, replaces all occurrences of the underscore character with a dash, and returns the same type (string or keyword) that was passed in. This is useful for translating data structures from their JDBC-compatible representation to their wire format representation.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |