Çok boyutlu dizilere sahip bir .txt dosyası almaya çalışıyorum ve ajax aracılığıyla veriyi yükleyip veriyi siteme aktarıyorum. Veriler sadece düz metin olarak geri dönüyor ve JSON.parse() üzerinde kullandığım zaman bile hiçbir şey geri gelmiyor. Sorunlu dosya JSON olmadığıdırjQuery dizileri içeren diziler ve biçimlendirmeler JSON
array(array('industry' => 'Advertising/Media',array(
'no_hover' => 0,
'organization' => 'Marina Reef',
'existing_url => 'http://www.alphasoftware.com/marina-reef-case-study.asp',
'heading' => '<h3>Giant Touch Screen App</h3>',
'description' => 'Interactive brochure application running on a 46\" touch screen.',
'logo' =>'marina-reef-sized.pmg',
'large_image' => 'marina-reef-large.jpg',
'page_name' => 'marina'
)),
array('industry' => 'Construction/Engineering/Real Estate',array(
'no_hover' => 0,
'organization' => 'Al Reyami',
'existing_url => 'http://www.alphasoftware.com/al-reyami-case-study.asp',
'heading' => '<h3>Enterprise-wide System for Invoicing, Financial Management, Inventory, Human Resources, and More</h3>',
'description' => 'Global construction firm uses Alpha Anywhere as its enterprise development and deployment platform, because it required less code than other tools.',
'logo' =>'al-reyami-sized.png',
'large_image' => 'al-reyami-large.jpg',
'page_name' => ''
))
);
Dosyanız geçersiz JSON içeriyor. Json geçerli değilse, çözümleyici null değerini döndürür. – Nergal