Q. What is the difference B/W Json_encode and Json_decode
1. json_encode : Converts PHP Native Objects to Json Object String
2. json_decode : Converts json_string to php native DataTypes which will
be object if second argument kept as false and array if second Argument kept true.
0 Comments