René's URL Explorer Experiment


Title: PHP: json_encode - Manual

X Title: PHP: json_encode - Manual

Open Graph Description: Returns the JSON representation of a value

X Description: Returns the JSON representation of a value

X: @official_php

direct link

Domain: secure.php.net

DescriptionReturns the JSON representation of a value
twitter:cardsummary_large_image
twitter:creator@official_php
twitter:image:srchttps://www.php.net/images/meta-image.png
Nonehttps://www.php.net/images/meta-image.png
og:imagehttps://www.php.net/images/meta-image.png

Links:

https://secure.php.net/
Downloads https://secure.php.net/downloads.php
Documentation https://secure.php.net/docs.php
Get Involved https://secure.php.net/get-involved.php
Help https://secure.php.net/support.php
https://secure.php.net/releases/8.5/index.php
https://secure.php.net/lookup-form.php
https://secure.php.net/menu.php
Upcoming Critical PHP Security Releasehttps://secure.php.net/index.php#2026-11-18-1
Getting Startedhttps://secure.php.net/manual/en/getting-started.php
Introductionhttps://secure.php.net/manual/en/introduction.php
A simple tutorialhttps://secure.php.net/manual/en/tutorial.php
Language Referencehttps://secure.php.net/manual/en/langref.php
Basic syntaxhttps://secure.php.net/manual/en/language.basic-syntax.php
Typeshttps://secure.php.net/manual/en/language.types.php
Variableshttps://secure.php.net/manual/en/language.variables.php
Constantshttps://secure.php.net/manual/en/language.constants.php
Expressionshttps://secure.php.net/manual/en/language.expressions.php
Operatorshttps://secure.php.net/manual/en/language.operators.php
Control Structureshttps://secure.php.net/manual/en/language.control-structures.php
Functionshttps://secure.php.net/manual/en/language.functions.php
Classes and Objectshttps://secure.php.net/manual/en/language.oop5.php
Namespaceshttps://secure.php.net/manual/en/language.namespaces.php
Enumerationshttps://secure.php.net/manual/en/language.enumerations.php
Error Handlinghttps://secure.php.net/manual/en/language.error-handling.php
Fibershttps://secure.php.net/manual/en/language.fibers.php
Generatorshttps://secure.php.net/manual/en/language.generators.php
Attributeshttps://secure.php.net/manual/en/language.attributes.php
References Explainedhttps://secure.php.net/manual/en/language.references.php
Predefined Variableshttps://secure.php.net/manual/en/reserved.variables.php
Predefined Exceptionshttps://secure.php.net/manual/en/reserved.exceptions.php
Predefined Interfaces and Classeshttps://secure.php.net/manual/en/reserved.interfaces.php
Predefined Attributeshttps://secure.php.net/manual/en/reserved.attributes.php
Context options and parametershttps://secure.php.net/manual/en/context.php
Supported Protocols and Wrappershttps://secure.php.net/manual/en/wrappers.php
Securityhttps://secure.php.net/manual/en/security.php
Introductionhttps://secure.php.net/manual/en/security.intro.php
General considerationshttps://secure.php.net/manual/en/security.general.php
Installed as CGI binaryhttps://secure.php.net/manual/en/security.cgi-bin.php
Installed as an Apache modulehttps://secure.php.net/manual/en/security.apache.php
Session Securityhttps://secure.php.net/manual/en/security.sessions.php
Filesystem Securityhttps://secure.php.net/manual/en/security.filesystem.php
Database Securityhttps://secure.php.net/manual/en/security.database.php
Error Reportinghttps://secure.php.net/manual/en/security.errors.php
User Submitted Datahttps://secure.php.net/manual/en/security.variables.php
Hiding PHPhttps://secure.php.net/manual/en/security.hiding.php
Keeping Currenthttps://secure.php.net/manual/en/security.current.php
Featureshttps://secure.php.net/manual/en/features.php
HTTP authentication with PHPhttps://secure.php.net/manual/en/features.http-auth.php
Cookieshttps://secure.php.net/manual/en/features.cookies.php
Sessionshttps://secure.php.net/manual/en/features.sessions.php
Handling file uploadshttps://secure.php.net/manual/en/features.file-upload.php
Using remote fileshttps://secure.php.net/manual/en/features.remote-files.php
Connection handlinghttps://secure.php.net/manual/en/features.connection-handling.php
Persistent Database Connectionshttps://secure.php.net/manual/en/features.persistent-connections.php
Command line usagehttps://secure.php.net/manual/en/features.commandline.php
Garbage Collectionhttps://secure.php.net/manual/en/features.gc.php
DTrace Dynamic Tracinghttps://secure.php.net/manual/en/features.dtrace.php
Function Referencehttps://secure.php.net/manual/en/funcref.php
Affecting PHP's Behaviourhttps://secure.php.net/manual/en/refs.basic.php.php
Audio Formats Manipulationhttps://secure.php.net/manual/en/refs.utilspec.audio.php
Authentication Serviceshttps://secure.php.net/manual/en/refs.remote.auth.php
Command Line Specific Extensionshttps://secure.php.net/manual/en/refs.utilspec.cmdline.php
Compression and Archive Extensionshttps://secure.php.net/manual/en/refs.compression.php
Cryptography Extensionshttps://secure.php.net/manual/en/refs.crypto.php
Database Extensionshttps://secure.php.net/manual/en/refs.database.php
Date and Time Related Extensionshttps://secure.php.net/manual/en/refs.calendar.php
File System Related Extensionshttps://secure.php.net/manual/en/refs.fileprocess.file.php
Human Language and Character Encoding Supporthttps://secure.php.net/manual/en/refs.international.php
Image Processing and Generationhttps://secure.php.net/manual/en/refs.utilspec.image.php
Mail Related Extensionshttps://secure.php.net/manual/en/refs.remote.mail.php
Mathematical Extensionshttps://secure.php.net/manual/en/refs.math.php
Non-Text MIME Outputhttps://secure.php.net/manual/en/refs.utilspec.nontext.php
Process Control Extensionshttps://secure.php.net/manual/en/refs.fileprocess.process.php
Other Basic Extensionshttps://secure.php.net/manual/en/refs.basic.other.php
Other Serviceshttps://secure.php.net/manual/en/refs.remote.other.php
Search Engine Extensionshttps://secure.php.net/manual/en/refs.search.php
Server Specific Extensionshttps://secure.php.net/manual/en/refs.utilspec.server.php
Session Extensionshttps://secure.php.net/manual/en/refs.basic.session.php
Text Processinghttps://secure.php.net/manual/en/refs.basic.text.php
Variable and Type Related Extensionshttps://secure.php.net/manual/en/refs.basic.vartype.php
Web Serviceshttps://secure.php.net/manual/en/refs.webservice.php
Windows Only Extensionshttps://secure.php.net/manual/en/refs.utilspec.windows.php
XML Manipulationhttps://secure.php.net/manual/en/refs.xml.php
GUI Extensionshttps://secure.php.net/manual/en/refs.ui.php
json_last_error » https://secure.php.net/function.json-last-error.php
« json_decode https://secure.php.net/function.json-decode.php
Prefacehttps://secure.php.net/index.php
Function Referencehttps://secure.php.net/funcref.php
Other Basic Extensionshttps://secure.php.net/refs.basic.other.php
JSONhttps://secure.php.net/book.json.php
JSON Functionshttps://secure.php.net/ref.json.php
mixedhttps://secure.php.net/language.types.mixed.php
inthttps://secure.php.net/language.types.integer.php
inthttps://secure.php.net/language.types.integer.php
stringhttps://secure.php.net/language.types.string.php
falsehttps://secure.php.net/language.types.singleton.php
arrayhttps://secure.php.net/language.types.array.php
objecthttps://secure.php.net/language.types.object.php
JsonSerializablehttps://secure.php.net/class.jsonserializable.php
serialize_precisionhttps://secure.php.net/ini.core.php#ini.serialize-precision
resourcehttps://secure.php.net/language.types.resource.php
» RFC 7159https://datatracker.ietf.org/doc/html/rfc7159
JSON_FORCE_OBJECThttps://secure.php.net/json.constants.php#constant.json-force-object
JSON_HEX_QUOThttps://secure.php.net/json.constants.php#constant.json-hex-quot
JSON_HEX_TAGhttps://secure.php.net/json.constants.php#constant.json-hex-tag
JSON_HEX_AMPhttps://secure.php.net/json.constants.php#constant.json-hex-amp
JSON_HEX_APOShttps://secure.php.net/json.constants.php#constant.json-hex-apos
JSON_INVALID_UTF8_IGNOREhttps://secure.php.net/json.constants.php#constant.json-invalid-utf8-ignore
JSON_INVALID_UTF8_SUBSTITUTEhttps://secure.php.net/json.constants.php#constant.json-invalid-utf8-substitute
JSON_NUMERIC_CHECKhttps://secure.php.net/json.constants.php#constant.json-numeric-check
JSON_PARTIAL_OUTPUT_ON_ERRORhttps://secure.php.net/json.constants.php#constant.json-partial-output-on-error
JSON_PRESERVE_ZERO_FRACTIONhttps://secure.php.net/json.constants.php#constant.json-preserve-zero-fraction
JSON_PRETTY_PRINThttps://secure.php.net/json.constants.php#constant.json-pretty-print
JSON_UNESCAPED_LINE_TERMINATORShttps://secure.php.net/json.constants.php#constant.json-unescaped-line-terminators
JSON_UNESCAPED_SLASHEShttps://secure.php.net/json.constants.php#constant.json-unescaped-slashes
JSON_UNESCAPED_UNICODEhttps://secure.php.net/json.constants.php#constant.json-unescaped-unicode
JSON_THROW_ON_ERRORhttps://secure.php.net/json.constants.php#constant.json-throw-on-error
JSON constantshttps://secure.php.net/json.constants.php
stringhttps://secure.php.net/language.types.string.php
falsehttps://secure.php.net/reserved.constants.php#constant.false
JSON_THROW_ON_ERRORhttps://secure.php.net/json.constants.php#constant.json-throw-on-error
JSON_INVALID_UTF8_IGNOREhttps://secure.php.net/json.constants.php#constant.json-invalid-utf8-ignore
JSON_INVALID_UTF8_SUBSTITUTEhttps://secure.php.net/json.constants.php#constant.json-invalid-utf8-substitute
JSON_UNESCAPED_LINE_TERMINATORShttps://secure.php.net/json.constants.php#constant.json-unescaped-line-terminators
serialize_precisionhttps://secure.php.net/ini.core.php#ini.serialize-precision
precisionhttps://secure.php.net/ini.core.php#ini.precision
floathttps://secure.php.net/language.types.float.php
JSON_PRESERVE_ZERO_FRACTIONhttps://secure.php.net/json.constants.php#constant.json-preserve-zero-fraction
json_last_error()https://secure.php.net/function.json-last-error.php
stringhttps://secure.php.net/language.types.string.php
inthttps://secure.php.net/language.types.integer.php
floathttps://secure.php.net/language.types.float.php
boolhttps://secure.php.net/language.types.boolean.php
JsonSerializablehttps://secure.php.net/class.jsonserializable.php
json_decode()https://secure.php.net/function.json-decode.php
json_last_error()https://secure.php.net/function.json-last-error.php
json_last_error_msg()https://secure.php.net/function.json-last-error-msg.php
serialize()https://secure.php.net/function.serialize.php
Learn How To Improve This Pagehttps://github.com/php/doc-base/blob/master/README.md
Submit a Pull Requesthttps://github.com/php/doc-en/blob/master/reference/json/functions/json-encode.xml
Report a Bughttps://github.com/php/doc-en/issues/new?body=From%20manual%20page:%20https:%2F%2Fphp.net%2Ffunction.json-encode%0A%0A---
+add a notehttps://secure.php.net/manual/add-note.php?sect=function.json-encode&repo=en&redirect=https://www.php.net/manual/en/function.json-encode.php
uphttps://secure.php.net/manual/vote-note.php?id=106641&page=function.json-encode&vote=up
downhttps://secure.php.net/manual/vote-note.php?id=106641&page=function.json-encode&vote=down
bohwazhttps://secure.php.net/json_encode#106641
https://secure.php.net/json_encode#106641
uphttps://secure.php.net/manual/vote-note.php?id=127741&page=function.json-encode&vote=up
downhttps://secure.php.net/manual/vote-note.php?id=127741&page=function.json-encode&vote=down
elliseproduction at gmail dot comhttps://secure.php.net/json_encode#127741
https://secure.php.net/json_encode#127741
uphttps://secure.php.net/manual/vote-note.php?id=91434&page=function.json-encode&vote=up
downhttps://secure.php.net/manual/vote-note.php?id=91434&page=function.json-encode&vote=down
Istratov Vadimhttps://secure.php.net/json_encode#91434
https://secure.php.net/json_encode#91434
uphttps://secure.php.net/manual/vote-note.php?id=111788&page=function.json-encode&vote=up
downhttps://secure.php.net/manual/vote-note.php?id=111788&page=function.json-encode&vote=down
ck at ergovia dot dehttps://secure.php.net/json_encode#111788
https://secure.php.net/json_encode#111788
uphttps://secure.php.net/manual/vote-note.php?id=129887&page=function.json-encode&vote=up
downhttps://secure.php.net/manual/vote-note.php?id=129887&page=function.json-encode&vote=down
diagnose at gmail dot comhttps://secure.php.net/json_encode#129887
https://secure.php.net/json_encode#129887
uphttps://secure.php.net/manual/vote-note.php?id=97008&page=function.json-encode&vote=up
downhttps://secure.php.net/manual/vote-note.php?id=97008&page=function.json-encode&vote=down
ryan at ryanparman dot comhttps://secure.php.net/json_encode#97008
https://secure.php.net/json_encode#97008
http://bugs.php.net/42001http://bugs.php.net/42001
http://bugs.php.net/41976,http://bugs.php.net/41976,
uphttps://secure.php.net/manual/vote-note.php?id=86513&page=function.json-encode&vote=up
downhttps://secure.php.net/manual/vote-note.php?id=86513&page=function.json-encode&vote=down
Garretthttps://secure.php.net/json_encode#86513
https://secure.php.net/json_encode#86513
uphttps://secure.php.net/manual/vote-note.php?id=118334&page=function.json-encode&vote=up
downhttps://secure.php.net/manual/vote-note.php?id=118334&page=function.json-encode&vote=down
Walter Trosshttps://secure.php.net/json_encode#118334
https://secure.php.net/json_encode#118334
uphttps://secure.php.net/manual/vote-note.php?id=112020&page=function.json-encode&vote=up
downhttps://secure.php.net/manual/vote-note.php?id=112020&page=function.json-encode&vote=down
guilhenfsu at gmail dot comhttps://secure.php.net/json_encode#112020
https://secure.php.net/json_encode#112020
uphttps://secure.php.net/manual/vote-note.php?id=90407&page=function.json-encode&vote=up
downhttps://secure.php.net/manual/vote-note.php?id=90407&page=function.json-encode&vote=down
Sam Barnumhttps://secure.php.net/json_encode#90407
https://secure.php.net/json_encode#90407
uphttps://secure.php.net/manual/vote-note.php?id=129803&page=function.json-encode&vote=up
downhttps://secure.php.net/manual/vote-note.php?id=129803&page=function.json-encode&vote=down
dassolucas at c238 dot com dot arhttps://secure.php.net/json_encode#129803
https://secure.php.net/json_encode#129803
+add a notehttps://secure.php.net/manual/add-note.php?sect=function.json-encode&repo=en&redirect=https://www.php.net/manual/en/function.json-encode.php
JSON Functionshttps://secure.php.net/ref.json.php
json_​decodehttps://secure.php.net/function.json-decode.php
json_​encodehttps://secure.php.net/function.json-encode.php
json_​last_​errorhttps://secure.php.net/function.json-last-error.php
json_​last_​error_​msghttps://secure.php.net/function.json-last-error-msg.php
json_​validatehttps://secure.php.net/function.json-validate.php
https://secure.php.net/
The PHP Foundationhttps://thephp.foundation/
Linkedin https://www.linkedin.com/company/phpnet/
@php@fosstodon.org https://fosstodon.org/@php
GitHub https://github.com/php/
Donatehttps://thephp.foundation/sponsor/
My PHP.nethttps://secure.php.net/my.php
Downloadshttps://secure.php.net/downloads.php
Contacthttps://secure.php.net/contact.php
Other PHP.net siteshttps://secure.php.net/sites.php
Documentationhttps://secure.php.net/docs.php
Get Involvedhttps://secure.php.net/get-involved.php
Helphttps://secure.php.net/support.php
About the Foundationhttps://thephp.foundation/
Sponsorhttps://thephp.foundation/sponsor/
Contacthttps://thephp.foundation/contact/
Privacy policyhttps://secure.php.net/privacy.php
javascript:;

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.