Reputation: 3516
I am using JObject.Parse
to parse a JSON string. The value is "parameterValues={\r\n \"DE:Actual Savings\": 42217.0\r\n}"
I tried the following but it's not working. Is it because of the special characters?
var val = JToken.Parse(oldRecord[2]);
Upvotes: 0
Views: 1095
Reputation: 303
it is for the parameterValues=
part, you need to stripe that out of the string
Upvotes: 1