can instantiate an vigilant instance json .net?


since vigilant initializers unequivocally identical json, there opposite forms .net. cold means take string, such json, emanate an opposite vigilant represents json string.



use vigilant initializers emanate an opposite type:



var chairman = new {
firstname = "chris",
lastname = "johnson"
};


it overwhelming pass twine illustration vigilant initializer formula (preferably something json) emanate an instance an opposite form data.



i don't know it's possible, given c# isn't dynamic, compiler indeed translates vigilant initializer an article.



maybe functionality take json emanate key/value collection work best.



i know serialize/deserializer an vigilant json .net, nonetheless i'm feeling proceed emanate an vigilant radically loosely typed, further javascript works.



does anyone know best fortitude doing .net?



update: too explain context since i'm seeking this... i pondering c# improved support json during libel turn (possibly) i perplexing cruise ways finished today, unpractical reasons. so, i guess i'd post here start discussion.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?