mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
registry: Fix Json unserialization.
This commit is contained in:
parent
cead634055
commit
72bc227e1b
@ -705,6 +705,8 @@ class TemplatedString(String):
|
||||
|
||||
class Json(String):
|
||||
# Json-serializable data
|
||||
def set(self, v):
|
||||
self.setValue(json.loads(v))
|
||||
def setValue(self, v):
|
||||
super(Json, self).setValue(json.dumps(v))
|
||||
def __call__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user