I'm trying to parse a string into a regular JSON struct in golang. I don't control the original string, but it might contain unwanted characters like this

originalstring := `{"os": "\u001C09:@>A>DB Windows 8.1 \u001A>@?>@0B82=0O"}`
input := []byte(originalstring)
var event JsonStruct
parsingError := json.Unmarshal(input, &event)

If I try to parse this into golang I get this error

 invalid character '\x1c' in string literal

I previously had a way to do this in Java by doing this

event = charset.decode(charset.encode(event)).toString();
eventJSON = new JsonObject(event);

Any idea?