CF 10 - deserializeJSON
hi,
in cf 9
<cfset test = '[{"key1":"value1", "key2":12345, "key3":{"nestedkey1":"nestedvalue1", "nestedkey2":"nestedvalue2"}}]' />
<cfset deserialized = deserializejson(test) />
<cfdump var = "#deserialized#" />
and coloured box various components of test. cf 10 string contents of test. need differently in cf 10 coloured box again , - importantly - able access parts of (what thought should be) struct resulting deserializejson?
tia.
your code example works fine me. tested cf10 under rhel, latest updaters installed.
More discussions in ColdFusion
adobe
Comments
Post a Comment