Update _lists.dm

This commit is contained in:
silicons
2020-08-29 22:48:26 -07:00
committed by GitHub
parent 550fc4a538
commit a8f920f88c
+8
View File
@@ -681,3 +681,11 @@
continue
if(istype(D, path))
return TRUE
/proc/safe_json_encode(list/L, default = "")
. = default
return json_encode(L)
/proc/safe_json_decode(string, default = list())
. = default
return json_decode(string)