From e6e08f60bccb2c0aeb1f345a6a9ad9ff959d209c Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Sat, 6 Aug 2016 19:21:44 -0700 Subject: [PATCH] Fixed json literal parsing --- graphene/types/json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphene/types/json.py b/graphene/types/json.py index 41144281..42393957 100644 --- a/graphene/types/json.py +++ b/graphene/types/json.py @@ -16,7 +16,7 @@ class JSONString(Scalar): @staticmethod def parse_literal(node): if isinstance(node, ast.StringValue): - return json.dumps(node.value) + return json.loads(node.value) @staticmethod def parse_value(value):