Click here to Skip to main content
15,899,126 members
Articles / Programming Languages / C#

Access your Microsoft JSON DOM the easy way with the dynamic keyword

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
4 Apr 2024CPOL1 min read 3.1K   3  
If you're putting together templates or other messes using JSON and C# this may be the ticket for you.
Instead of dealing with a clunky DOM, how about accessing the fields off of a JSON object as though they were properties on an object? Do this and more with this little bit of code.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
Just a shiny lil monster. Casts spells in C++. Mostly harmless.

Comments and Discussions