Skip to content

:key-fn no longer works in generate-string? #186

@wenxijuji

Description

@wenxijuji

;; [cheshire "5.10.1"] in project
;; [cheshire.core :as json] in require

;; copied from the github page exmaple
(json/generate-string {:foo "bar"} {:key-fn (fn [k] (.toUpperCase (name k)))})
=> "{\"foo\":\"bar\"}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions