PeanutButter
Loading...
Searching...
No Matches
PeanutButter.JObjectExtensions.JObjectExtensions Class Reference

Provides an easy extension method to convert JObjects to nested Dictionary<string, object> instances. More...

Static Public Member Functions

static Dictionary< string, object > ToDictionary (this JObject src)
 Generates a nested dictionary of Dictionary<string, object> from a JObject so you can use JObjects easily with DuckTyping.

Detailed Description

Provides an easy extension method to convert JObjects to nested Dictionary<string, object> instances.

Member Function Documentation

◆ ToDictionary()

Dictionary< string, object > PeanutButter.JObjectExtensions.JObjectExtensions.ToDictionary ( this JObject src)
static

Generates a nested dictionary of Dictionary<string, object> from a JObject so you can use JObjects easily with DuckTyping.

Parameters
src
Returns

The documentation for this class was generated from the following file:
  • source/Utils/PeanutButter.JObjectExtensions/JObjectExtensions.cs