JsonAdminCommentPreserverGetPreservedComments Method

Extracts a list of comments preserved in a non-mfadmin-compatible json structure.

Definition

Namespace: MFiles.VAF.Configuration.JsonMapping
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public IEnumerable<JsonAdminComment> GetPreservedComments(
	JObject source,
	string commentsPath
)

Parameters

source  JObject
The json to extract the comments from.
commentsPath  String
The custom path where comments would have been saved.

Return Value

IEnumerableJsonAdminComment
List of preserved comments.

See Also