by mcharezinski · 7y ago · 0 comments
I can’t see why anyone would want not to do this.
From there on you just use JSON.NET to convert your JSON-string to an instance of the root type, literally one line of code.
And after that you get code-completion and type-inference and compile-time checking for all data-object access.
It’s an absolute no-brainer.