Key name contains ':'

Jul 31, 2012 at 4:43 AM

When original json key contains ':',
It seems JsonReaderWriterFactory replace key name to 'item' and store raw name into "item" attribute.

So, how about change TryConvertcurrent:
                var ie = (IsArray)
                    ? xml.Elements().Select(x => ToValue(x))
                    : xml.Elements().Select(x => (dynamic)new KeyValuePair<string, object>(x.Name.LocalName, ToValue(x)));

to:
                var ie = (IsArray)
                    ? xml.Elements().Select(x => ToValue(x))
                    : xml.Elements().Select(x => (dynamic)new KeyValuePair<string, object>(x.Attribute("item").Value, ToValue(x)));

Coordinator
Aug 8, 2012 at 1:29 PM

Thank you.

I recognize a similar problem.
http://kokudori.blog69.fc2.com/blog-entry-62.html

It is surely an important problem.
And thank you for a fixed code. 

I check it and want to be able to begin release.