ExpandoObjectExtensions Class

Summary

Extension for System.Dynamic.ExpandoObject.
graph BT Type-->Base0["Object"] Type["ExpandoObjectExtensions"] class Type type-node

Syntax

public static class ExpandoObjectExtensions

Methods

Name Value Summary
SerializeToJsonString(ExpandoObject) string
Serializes an System.Dynamic.ExpandoObject to a JSON string.
static
SerializeToJsonString(IEnumerable<ExpandoObject>) string
Serializes an IEnumerable<T> to a JSON string.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin