PHP: Converting __toString when calling json_encode using JsonSerializable interface

JsonSerializable {
/* Methods */
abstract public mixed jsonSerialize ( void )
}

When calling a json_encode on an object:

See:

And:

Comments

Popular posts from this blog

Accessing Windows Share (Samba) From Linux (XFCE) using Thunar

Bypassing the error by "go get" "tls: failed to verify certificate: x509: certificate signed by unknown authority"

Using phpword to merge two Mircrosoft Office Word .docx documents