JsonAdminCommentPreserverPreserveComments Method (JObject, JObject, String) |
Preserves the MFAdmin-compatible comments in the source JSON structure
under a single property in the target structure.
Namespace:
MFiles.VAF.Configuration.JsonMapping
Assembly:
MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntaxpublic void PreserveComments(
JObject source,
JObject target,
string commentsPath
)
Parameters
- source
- Type: JObject
The source JSON structure (that may contain MFAdmin-compatible comments). - target
- Type: JObject
The target JSON structure. - commentsPath
- Type: SystemString
The path to where the comments should stored in the JSON structure.
See Also