I've just installed Web Essentials for making a class diagram for a JSON structure. I've copied the JSON structure, and used the Visual Studio Paste Special "Paste JSON as classes" feature.
This worked almost fine, but there were two issues:
My JSON contained attributes with dots. Those were deleted, but no [JsonProperty] was created for it.
My JSON contained collections. Web Essentials used dynamical arrays for those, while List objects are to be preferred (in case one needs to increase).
I've just installed Web Essentials for making a class diagram for a JSON structure. I've copied the JSON structure, and used the Visual Studio Paste Special "Paste JSON as classes" feature.
This worked almost fine, but there were two issues: My JSON contained attributes with dots. Those were deleted, but no [JsonProperty] was created for it. My JSON contained collections. Web Essentials used dynamical arrays for those, while List objects are to be preferred (in case one needs to increase).
JSON excerpt:
Web Essentials generated this:
What Web Essentials should generate:
Best regards