So I was using the php function php_decode to convert a JSON encoded data result from a web service (More on that later) But it was choking on the JSON formated data result. Why? well, the C# library that I was using to generate the JSON data encoded a DateTime object as
”TimePosted”: new Date(1221571632000),
javascript picks up on the new Date function, but not PHP. so I had to switch the JSON data result to return the date as a string
”TimePosted”: “9/16/2008 1:27:12 PM”,
The website that I found in the process of finding this out might be helpful for someone else too. http://www.jsonlint.com/ a JSON validator. and it takes JSON data and make it easy to read too, that a big bonus!
That’s it. JSON on!
this post will help me a lot for my work in college.
Well , the view of the passage is totally correct ,your details is really reasonable and you guy give us valuable informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum! http://likeblackhulks.com/