I've been rendering strongly typed models in templates. But now I need to render a JSON string. I cant convert the json to an object because it is near impossible to convert json toanonymous type.but can convert to a dynamic object easily,but DotLiquid cannot render a dynamic, so converting to dynamic is also useless.
Are there any extentions out there for .net that can do this?
For eg.
string json = "{ Name: \"Some Name\" }";
This goes to the template renderer;
<p> Hello {{ Name }} </p>
becomes:
<p>Hello Some Name</p>