I'm a jack-of-all-trades tech, I've done a number of out-and-out coding/programming jobs, and hells yes I would actively discourage my child from going in a "job such as coding" - it can be incredibly unrewarding and soul-destroying. And more to the point, learning "coding" is a horrible way to learn about computers in general, and often produces bad programmers. I can't see a single pupil suddenly deciding they want to go into computer science because they've been taught to "write code" at school: the best you'll achieve is to get a few people who would've done it anyway to start earlier - and do we really want to start segregating children into future career paths earlier?
I've got a couple of other issues with this as reported by the BBC too - for instance, it says nothing about the ages of the parents or the children surveyed (and yes, that makes a massive difference). And it was commissioned by O2, a large corporation. So you've got to ask what their incentive is to do this: you can guarantee that they won't have invested money have this research done without having some plan to monetise the results....
Plus, here's the ultimate shock: parents are not the best people to give career advice! Who'd've thought that people with no knowledge of or training in careers advice would give bad career advice?
I know as parents we like to think we know best for our kids, but really sometimes we should probably take a moment to reflect on what we do and don't know....