On Apr 2, 8:51 am, "Phrogz" <g... / refinery.com> wrote: > On Apr 2, 7:31 am, Rama Singh <rama.sing... / gmail.com> wrote: > > > I just wanted to check my JSON data is valid or not, > > either from website or from command prompt. > > If you want to know if it is valid, and you have access to a JS > interpreter (e.g. a web browser) then you could simply eval() it and > see if it compiles or not. For example, go to: http://phrogz.net/tmp/simplejs.html and paste your JSON 'code' in, and then hit tab or otherwise defocus the top pane. If you see valid data in the bottom, the input was valid. If not, well, it's not a valid JS object.