Skip to content

Commit 6b8b9c6

Browse files
committed
backport src/compojure/api/impl/json.clj
1 parent c0c072e commit 6b8b9c6

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## NEXT
44
* drop support for Clojure 1.8
5+
* upgrade cheshire 5.13.0
56

67
## 1.1.14 (2024-04-30)
78
* Remove potemkin [#445](https://github.com/metosin/compojure-api/issues/445)

project.clj

+5-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
:scm {:name "git"
99
:url "https://github.com/metosin/compojure-api"}
1010
:dependencies [[prismatic/plumbing "0.6.0"]
11-
[cheshire "5.9.0"]
11+
[cheshire "5.13.0"]
1212
[compojure "1.6.1"]
1313
[prismatic/schema "1.1.12"]
1414
[org.tobereplaced/lettercase "1.0.0"]
@@ -33,7 +33,10 @@
3333
:dependencies [[org.clojure/clojure "1.9.0"]
3434
;; bump
3535
[fipp "0.6.26"]
36-
[metosin/spec-tools "0.10.0"]
36+
[metosin/spec-tools "0.10.6"]
37+
[metosin/muuntaja "0.6.6"]
38+
[metosin/jsonista "0.2.5"]
39+
[com.fasterxml.jackson.datatype/jackson-datatype-joda "2.10.1"]
3740
[slingshot "0.12.2"]
3841
[peridot "0.5.1"]
3942
[javax.servlet/servlet-api "2.5"]

src/compojure/api/impl/json.clj

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
(ns ^:no-doc compojure.api.impl.json
2+
"Internal JSON formatting"
3+
(:require [muuntaja.core :as m]))
4+
5+
(def muuntaja
6+
(m/create))

0 commit comments

Comments
 (0)