StoryTeller.Persistence.JsonNode.ToJson C# (CSharp) Method

ToJson() public method

public ToJson ( ) : string
return string
        public string ToJson()
        {
            return _object.ToString();
        }

Usage Example

Example #1
0
        public string WriteToJson(Test test)
        {
            var node = new JsonNode("Test");
            node["Name"] = test.Name;

            new WriterVisitor(test, node).Write();

            return node.ToJson();
        }
All Usage Examples Of StoryTeller.Persistence.JsonNode::ToJson