Search
DiagramItem.LoadFromJson Method
See Also
 





Loads the item from a JSON object.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

protected virtual void LoadFromJson (
    JsonObject obj,
    JsonPersistContext context
)

Visual Basic  Copy Code

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

 Parameters

obj
A JsonObject containing the item's 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 deserialized from a diagram file saved in JSON format.

 See Also