JsonMapConvertSource Method |
Converts a source json string to a target json string using the
mappings defined in this object.
Namespace:
MFiles.VAF.Configuration.JsonMapping
Assembly:
MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 21.8.10524.1
Syntaxpublic string ConvertSource(
string sourceJson,
string targetJson = "{}"
)
Public Function ConvertSource (
sourceJson As String,
Optional targetJson As String = "{}"
) As String
public:
String^ ConvertSource(
String^ sourceJson,
String^ targetJson = L"{}"
)
Parameters
- sourceJson
- Type: SystemString
JSON string in the source format. - targetJson (Optional)
- Type: SystemString
JSON string of the target format to map values into.
Return Value
Type:
StringConverted json string.
See Also