Json issue : 'string' does not contain a definition for 'Key'

##Versions

Dynamo 1.0.0.1180
Revit 2016
Windows 7

##What I’m doing?
Hello all,

I’m trying to parse a json (loads), as in the python example:

This is my Python code:

import sys
sys.path.append(“C:\Program Files (x86)\IronPython 2.7\Lib”)
import json

import clr
clr.AddReference(‘ProtoGeometry’)
from Autodesk.DesignScript.Geometry import *

array = json.loads(‘[“foo”, {“bar”:[“baz”, null, 1.0, 2]}]’)

OUT = array

And the problem is that for some reason, in the ironpython console it works, but in ironpython component of dynamo it doesn’t work and retrieve the following error:

Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
‘string’ does not contain a definition for ‘Key’

Dynamo has a crippled version of a IronPython implementation. This is one of the limitations. it won’t print Dictionaries or Json strings. You might have to wrap this up in some custom class. Please see this conversation: https://github.com/DynamoDS/Dynamo/issues/3100

Hopefully, this will help

Han