json_input = "{"insp_result":"C","insp_comment":null,"user_id":null}"
jsontostruct vst_stuct, json_input
vst_struct→insp_comment = "Cancelled"
vst_struct→user_id = "SOMEONE"
Structs now looks like this;
[]
[insp_result] = "C"
[insp_comment] = "Cancelled"
[user_id] = "SOMEONE"
structtojson/whitespace json_out, vst_struct
Json now looks like this;
"
{
"insp_result" : "C",
"insp_comment" : null,
"user_id" : null
}"
What on earth am I missing here?
Knut