def json(text):
 if r_json.match(r_string.sub('', text)):
  text = r_string.sub((lambda m: ('u' + m.group(1))), text)
  return eval(text.strip('  DCTB \r\n'), env, {})
 raise ValueError('Input must be serialised JSON.')

def json ( text ) : if r_json . match ( r_string . sub ( '' , text ) ) : text = r_string . sub ( ( lambda m : ( 'u' + m . group ( 1 ) ) ) , text ) return eval ( text . strip ( '  DCTB \r\n' ) , env , { } ) raise ValueError ( 'Input must be serialised JSON.' )
takes json formatted data .