ALIAS

jenc()

ShortPHP reference for json_encode().

Signature

json_encode(mixed $value, int $flags = 0, int $depth = 512): string|false

Example

jenc(...);

PHP equivalent

json_encode() is the canonical PHP function. ShortPHP provides jenc() as the convenience alias.

Extension: json

Official PHP manual ↗

Reference navigation

Previous: jdec()

Next: mbcheck()

Back to reference