Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
lithium
storage
cache
strategy
Json
write
lithium\storage\cache\strategy\Json::write PHP Method
Json Class Documentation
Show file
Open project: unionofrad/lithium
write()
public
method
Encodes the passed data from an array to JSON format.
See link:
PHP Manual: json_encode()
public
write
(
mixed
$data
) :
string
$data
mixed
The data to be encoded.
return
string
The encoded data.
public function write($data) { return json_encode($data); }
Json
read
write