In PHP, why is the function to convert a JSON string to a PHP object json_encode
and in the Go world Marshal
?
I've been reading the definitions and differences between marshaling and encoding, and I don't get why Golang would call it different to PHP?