From 2ba7ac3ea9a4178618e61ef8512cd864f5be1e9a Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 28 Aug 2019 09:25:41 +0200 Subject: [PATCH] added json backend --- backend/json.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 backend/json.py diff --git a/backend/json.py b/backend/json.py new file mode 100644 index 0000000..7d7e102 --- /dev/null +++ b/backend/json.py @@ -0,0 +1,12 @@ +from plugin_collection import Plugin +import json + +class Json(Plugin): + + def __init__(self): + super().__init__() + self.description = 'JSON Backend Plugin' + self.identifier = 'json' + + def translate_to_native_code(self, input): + return json.dumps(input) \ No newline at end of file