JObjectHelperSetValue Method
Sets a value in a target JSON structure at the specified path.
Namespace: MFiles.VAF.Configuration.JsonMappingAssembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
public JToken SetValue(
JObject target,
string targetPath,
JToken value
)
- target JObject
- The structure to set the value in.
- targetPath String
- The path in the target structure where the value should be set.
- value JToken
- The value to set.
JTokenThe JSON property or array item that was set.