ObjectToDictionaryConverter class

Utility for converting arbitrary .NET objects to a Dictionary with string keys and values. Handles dictionaries, enumerables, and objects with public properties.

public static class ObjectToDictionaryConverter

Public Members

name description
static ToDictionary(…) Converts an arbitrary object to a dictionary with string keys and string values.
static ToDictionaryObject(…) Converts an arbitrary object to a dictionary with string keys and object values (without stringification).

See Also