BadgerFish Json

Aug 6, 2009 at 2:15 PM

Hi,

I'm trying to convert badgerfish json to xml using JsonConvert.DeserializeXmlNode().  It doesn't seem to like it, so I was wondering if anyone has any ideas on a workaround that will save me updating the SRC.

Json:

@"{""CustomerResponse"": {
                                ""@xmlns"":{
                                    ""$"":""http:\\url.com\dir""
                                },
                                ""@result"":""OK"",
                                ""Emails"":{
                                    ""Email"":{
                                        ""@address"":""name@domain.com"",
                                        ""@type"":""General""
                                    }
                                },
                                ""PaymentMethods"":{}}}";

I don't think it likes the namespace declaration attribute.

cheers