var src = {"cont":[{"type":"text"}],"name":[{"type":"text"}],"tedt":"sdf","cont3":[{"type":"всякая хрень"}]}; for(var key in src) { alert(key+':'+ JSON.stringify(src[key])); }