How do I parse this JSON with jQuery?

Posted by Mike on Stack Overflow See other posts from Stack Overflow or by Mike
Published on 2012-10-14T01:02:46Z Indexed on 2012/10/14 3:37 UTC
Read the original article Hit count: 179

Filed under:
|
|
|

So I had this structure in xml and I was able to parse it successfully. Now what I have done is that I converted this xml into a JSON using www.xmltojson.org but I am not able to parse it . I am setting these files locally on we localhost web server:

<script>
        $(function() {
            $.ajax({
                url:'feed.json',
                dataType:'json',
                type:'GET',
                success:function(json) {
/// what to do here
}.
error: {
 alert("Parse Failed");
}
});
});
</script>

I am trying to learn JSON, so I am little unsure as to where I am doing wrong, or even if that is the correct approah.

Thanks Mikey.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery