This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List ID list1.domain.org | |
List name list1 | |
Mail host domain.org | |
List Settings: | |
============= | |
owner_address list1-owner@domain.org | |
default_nonmember_action hold | |
default_member_action defer | |
posting_address list1@domain.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class JsonExtensions | |
{ | |
public static JToken GetPropertyFromPath(this JToken token, string path) | |
{ | |
if (token == null) | |
{ | |
return null; | |
} | |
string[] pathParts = path.Split("."); | |
JToken current = token; |
OlderNewer