JsonAdminCommentPreserverPreserveComments(IEnumerableJsonAdminComment, 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(
	IEnumerable<JsonAdminComment> comments,
	JObject target,
	string commentsPath
)

Parameters

comments  IEnumerableJsonAdminComment
The comments to preserve.
target  JObject
The target JSON structure.
commentsPath  String
The path to where the comments should stored in the JSON structure.

See Also