Update _lists.dm

This commit is contained in:
silicons
2020-08-29 22:48:26 -07:00
committed by BlueWildrose
parent 6ea7843e38
commit 6ceb6174a1
+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)