Click or drag to resize

JsonAdminCommentPreserverRestoreComments Method (JObject, JObject, String)

Restores the MFAdmin-compatible comments into the target JSON structure from preserved comments in the source JSON structure..

Namespace:  MFiles.VAF.Configuration.JsonMapping
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public void RestoreComments(
	JObject source,
	JObject target,
	string commentPath
)

Parameters

source
Type: JObject
The source JSON structure that may contain preserved comments.
target
Type: JObject
The target JSON structure (that can contain MFAdmin-compatible comments).
commentPath
Type: SystemString
The path to where the comments would have been stored in the source JSON.
See Also