JsonAdminCommentPreserverPreserveComments(JObject, JObject, String) Method

Preserves the MFAdmin-compatible comments in the source JSON structure under a single property in the target structure.

Definition

Namespace: MFiles.VAF.Configuration.JsonMapping
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public void PreserveComments(
	JObject source,
	JObject target,
	string commentsPath
)

Parameters

source  JObject
The source JSON structure (that may contain MFAdmin-compatible comments).
target  JObject
The target JSON structure.
commentsPath  String
The path to where the comments should stored in the JSON structure.

See Also