myJson=[{"test1":1, "test2":2}]; strJson=XSP.serialize(myJson) // strJson >>> "[{\"test1\":1,\"test2\":2}]" restoredJson=XSP.fromDojo(strJson)