how to insert special character in mysql : Anyone please help me out for below issue ?

I have one table in which is storing data with *json_encode* 
i have tried to *mysql_escape_string* as well as *mysql_real_escape_string* but both are not working in my case.

For example :

    my password is : @:;_-#()\/+.,?!'"
    update new_devices set parameter = '{"password":"@:;_-#()\/+.,?!'""}' where id = 126

Is that possible in php using something another solution ?

I know that store json_encode data into database its not good idea but 
application is large and i can't do that change so please dont take that as negative.

Please help me out

Thanks in advance.