Results of 1 - 10 of about 189 for jsonSerialize (0.008 sec.)
- JSON にシリアライズしたいデータを指定する 9665
- « JsonSerializable JSON 関数 » PHP Manual JsonSerializable JSON にシリアライズしたいデータを指定する 検索 JsonSerializable::jsonSerialize (PHP 5 >= 5.4.0, PHP 7, PHP 8) JsonSerializable::jsonSerialize — JSON にシリアライズしたいデータを指定
... する 説明 public function JsonSerializable::jsonSerialize (): mixed オブジェクトをシリアライズして、 json_encode() がネイティブにシリアライズできる値にします。 パラメータ この関数に ... 。 戻り値 json_encode() でシリアライズするデータを返します。 resource 型以外の任意の型になります。 例 例1 JsonSerializable::jsonSerialize() で配列を返す例 <?php class ArrayValue implements JsonSerializable { private $array ; public function __construct (array ... $array ) { $this -> array = $array ; } public function jsonSerialize (): mixed { return $this -> array ; } } $array = [ 1 , 2 , 3 ]; echo json_encode (new ArrayValue ( $array ), JSON_PRETTY_P ...
-
https://man.mtool.work/php/8.3/jsonserializable.jsonserialize.html
- JSON にシリアライズしたいデータを指定する 9665
- « JsonSerializable JSON 関数 » PHP Manual JsonSerializable JSON にシリアライズしたいデータを指定する 検索 JsonSerializable::jsonSerialize (PHP 5 >= 5.4.0, PHP 7, PHP 8) JsonSerializable::jsonSerialize — JSON にシリアライズしたいデータを指定
... する 説明 public function JsonSerializable::jsonSerialize (): mixed オブジェクトをシリアライズして、 json_encode() がネイティブにシリアライズできる値にします。 パラメータ この関数に ... 。 戻り値 json_encode() でシリアライズするデータを返します。 resource 型以外の任意の型になります。 例 例1 JsonSerializable::jsonSerialize() で配列を返す例 <?php class ArrayValue implements JsonSerializable { private $array ; public function __construct (array ... $array ) { $this -> array = $array ; } public function jsonSerialize (): mixed { return $this -> array ; } } $array = [ 1 , 2 , 3 ]; echo json_encode (new ArrayValue ( $array ), JSON_PRETTY_P ...
-
https://man.mtool.work/php/8.3/jsonserializable.jsonserialize.html
- Returns a representation that can be converted to JSON 7314
- « Ds\Deque::join Ds\Deque::last » PHP Manual Ds\Deque Returns a representation that can be converted to JSON 検索 Ds\Deque::jsonSerialize (PECL ds >= 1.0.0) Ds\Deque::jsonSerialize — Returns a representation that can be converted to JSON 説
... 明 See JsonSerializable::jsonSerialize() 注意 : You should never need to call this directly. 関連キーワード: Deque representation converted jsonSerialize join la ...
-
https://man.mtool.work/php/8.3/ds-deque.jsonserialize.html
- Returns a representation that can be converted to JSON 7314
- « Ds\Map::isEmpty Ds\Map::keys » PHP Manual Ds\Map Returns a representation that can be converted to JSON 検索 Ds\Map::jsonSerialize (PECL ds >= 1.0.0) Ds\Map::jsonSerialize — Returns a representation that can be converted to JSON 説明 See
... JsonSerializable::jsonSerialize() 注意 : You should never need to call this directly. 関連キーワード: representation converted jsonSerialize isEmpty keys ...
-
https://man.mtool.work/php/8.3/ds-map.jsonserialize.html
- Returns a representation that can be converted to JSON 7314
- « Ds\Pair::isEmpty Ds\Pair::toArray » PHP Manual Ds\Pair Returns a representation that can be converted to JSON 検索 Ds\Pair::jsonSerialize (PECL ds >= 1.0.0) Ds\Pair::jsonSerialize — Returns a representation that can be converted to JSON 説
... 明 See JsonSerializable::jsonSerialize() 注意 : You should never need to call this directly. 関連キーワード: Pair representation converted jsonSerialize isEmpty ...
-
https://man.mtool.work/php/8.3/ds-pair.jsonserialize.html
- Returns a representation that can be converted to JSON 7314
- « Ds\PriorityQueue::isEmpty Ds\PriorityQueue::peek » PHP Manual Ds\PriorityQueue Returns a representation that can be converted to JSON 検索 Ds\PriorityQueue::jsonSerialize (PECL ds >= 1.0.0) Ds\PriorityQueue::jsonSerialize — Returns a repr
... esentation that can be converted to JSON 説明 See JsonSerializable::jsonSerialize() 注意 : You should never need to call this directly. 関連キーワード: PriorityQueue representation converted jsonSerialize ...
-
https://man.mtool.work/php/8.3/ds-priorityqueue.jsonserialize.html
- Returns a representation that can be converted to JSON 7314
- « Ds\Queue::isEmpty Ds\Queue::peek » PHP Manual Ds\Queue Returns a representation that can be converted to JSON 検索 Ds\Queue::jsonSerialize (PECL ds >= 1.0.0) Ds\Queue::jsonSerialize — Returns a representation that can be converted to JSON
... 説明 See JsonSerializable::jsonSerialize() 注意 : You should never need to call this directly. 関連キーワード: Queue representation converted jsonSerialize isEmpty ...
-
https://man.mtool.work/php/8.3/ds-queue.jsonserialize.html
- Returns a representation that can be converted to JSON 7314
- « Ds\Set::join Ds\Set::last » PHP Manual Ds\Set Returns a representation that can be converted to JSON 検索 Ds\Set::jsonSerialize (PECL ds >= 1.0.0) Ds\Set::jsonSerialize — Returns a representation that can be converted to JSON 説明 See Jso
... nSerializable::jsonSerialize() 注意 : You should never need to call this directly. 関連キーワード: representation converted jsonSerialize join last Jso ...
-
https://man.mtool.work/php/8.3/ds-set.jsonserialize.html
- Returns a representation that can be converted to JSON 7314
- « Ds\Stack::isEmpty Ds\Stack::peek » PHP Manual Ds\Stack Returns a representation that can be converted to JSON 検索 Ds\Stack::jsonSerialize (PECL ds >= 1.0.0) Ds\Stack::jsonSerialize — Returns a representation that can be converted to JSON
... 説明 See JsonSerializable::jsonSerialize() 注意 : You should never need to call this directly. 関連キーワード: Stack representation converted jsonSerialize isEmpty ...
-
https://man.mtool.work/php/8.3/ds-stack.jsonserialize.html
- Returns a representation that can be converted to JSON 7314
- « Ds\Vector::join Ds\Vector::last » PHP Manual Ds\Vector Returns a representation that can be converted to JSON 検索 Ds\Vector::jsonSerialize (PECL ds >= 1.0.0) Ds\Vector::jsonSerialize — Returns a representation that can be converted to JS
... ON 説明 See JsonSerializable::jsonSerialize() 注意 : You should never need to call this directly. 関連キーワード: Vector representation converted jsonSerialize join l ...
-
https://man.mtool.work/php/8.3/ds-vector.jsonserialize.html