Open.Core.TreeNode.FromJson C# (CSharp) Method

FromJson() public static method

Creates a new instance of the node from JSON.
public static FromJson ( string json, TreeNodeFactory factory ) : TreeNode
json string The JSON string to parse.
factory TreeNodeFactory The factory method for creating new nodes.
return TreeNode
        public static TreeNode FromJson(string json, TreeNodeFactory factory)
        {
            return FromDictionary(Helper.Json.Parse(json), factory);
        }