In a project I’m working on ppl enter the mailing address and can then tick a box if their current residential address is the same as their mailing address.
In the json file that i receive this box translates to a value which will be either true or false, depending on whether they ticked that box or not.
Now I need to use that in an If Condition.
I wrote it like this: currentResidentialAddress.Item(“sameAsMailingAddress”)=true
where currentResidentialAddress is a JObject
and sameAsMailingAddress is the value in the json file.
But now I’m getting an error saying I can’t use operator = for Jtoken or Boolean…