mirror of
https://github.com/penpot/penpot.git
synced 2025-07-31 23:48:33 +02:00
🐛 Fix json encoding truncation issue
This commit is contained in:
parent
06bab212b5
commit
3363793d64
3 changed files with 38 additions and 17 deletions
|
@ -40,7 +40,8 @@
|
|||
[app.common.transit :as t]
|
||||
[app.common.uuid :as uuid]
|
||||
[app.util.time :as dt]
|
||||
[clojure.core :as c])
|
||||
[clojure.core :as c]
|
||||
[clojure.data.json :as json])
|
||||
(:import
|
||||
clojure.lang.Counted
|
||||
clojure.lang.IDeref
|
||||
|
@ -75,6 +76,14 @@
|
|||
^:unsynchronized-mutable modified?
|
||||
^:unsynchronized-mutable loaded?]
|
||||
|
||||
json/JSONWriter
|
||||
(-write [this writter options]
|
||||
(json/-write {:type "pointer"
|
||||
:id (get-id this)
|
||||
:meta (meta this)}
|
||||
writter
|
||||
options))
|
||||
|
||||
IPointerMap
|
||||
(load! [_]
|
||||
(when-not *load-fn*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue