Search
JsonLoader.GenerateTemplate Method
See Also
 





Generates a Json template string from an hierarchy of coponents.

Namespace: MindFusion.Diagramming.Components
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static string GenerateTemplate (
    ComponentBase component,
    JsonPersistContext context
)

Visual Basic  Copy Code

Public Shared Function GenerateTemplate( _
    component As ComponentBase, _
    context As JsonPersistContext _
) As String

 Parameters

component

The root Component.

context

A JsonPersistContext object providing contextual information about the serialization process and helper serialization methods.

 Return Value

A Json template string containing the components' data.

 See Also