Skip to content

Commit

Permalink
added json backend
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophBrandl committed Aug 28, 2019
1 parent 933e9c5 commit 2ba7ac3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions backend/json.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 2ba7ac3

Please sign in to comment.