Skip to content

A C# utility to create objects from Json strings, whose properties can be inspected and evaluated using reflection.

Notifications You must be signed in to change notification settings

starnutoditopo/JsonToObject

Repository files navigation

JsonToObject

A C# utility to instantiate and hydrate CLR objects from Json strings.

CLR classes are built on the fly, mirroring the structure of the input JSON.

The resulting object's properties can be inspected and evaluated using reflection (this is useful in those cases in which the properties of the input object are not known in advance).

Here's an example, excerpted from one of the unit tests, showing how the resulting object can be inspected in Visual Studio:

Screen shot

Usage examples can be found in JsonToObject.Tests/UsageExamples.cs.

About

A C# utility to create objects from Json strings, whose properties can be inspected and evaluated using reflection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages