Share your repls and programming experiences

← Back to all posts
Dynamic C# JSON Parsing Library
CSharpIsGud (436)

This is a wrapper over my original JSON parser. It makes it incredibly easy to use and you could even say it gets close to how you would use it in a truly dynamic language.

Example:

dynamic root = Json2.Parse("{ \"Object\": { \"Value\": \"Hello World!\" } }");

Console.WriteLine(root.Object.Value);

This just goes to show how amazing reflection is!

Commentshotnewtop
StudentFires (327)

CSharpIsGod?

#goodpostarmy

TheForArkLD (605)

I think

CSharpIsGud and C# is god

DynamicSquid (1945)

Did someone say DYNAMIC?

Wait, C# has a keyword called "dynamic" wha-

CSharpIsGud (436)

@DynamicSquid Yeah, it kind of ruins the point of static typing but its there

SixBeeps (2304)

using System.Reflection.Emit;

I smell a

b y t e c o d e