I have a variable name state, how can i convert it into JSON object and changes its values and then convert it back to string.
Note: dataField value itself is another JSON, thats where i am having problem.
state='{"instanceId":"iaFMRu32kedGmOHC8umMQ","**dataField**":"{"id":52,"name":"CropSelection"}","validation":"incomplete","required":true,"value":"","hasValue":false,"requiresSave":true}';
statea string or is it an object?