Search
DiagramItem.SaveToJson Method
See Also
 





Saves the item as a JSON object.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

protected virtual void SaveToJson (
    JsonObject obj,
    JsonPersistContext context
)

Visual Basic  Copy Code

Protected Overridable Sub SaveToJson( _
    obj As JsonObject, _
    context As JsonPersistContext _
)

 Parameters

obj
A JsonObject instance to contain the serialized data.
context
A JsonPersistContext object providing contextual information about the serialization process and helper serialization methods.

 Remarks

This method is invoked when an item is being serialized into a JSON-format diagram file.

 See Also