<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.basic.other.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'book.json.php',
    1 => 'JSON',
    2 => 'JavaScript Object Notation',
  ),
  'up' => 
  array (
    0 => 'refs.basic.other.php',
    1 => 'その他の基本モジュール',
  ),
  'prev' => 
  array (
    0 => 'function.igbinary-unserialize.php',
    1 => 'igbinary_unserialize',
  ),
  'next' => 
  array (
    0 => 'json.setup.php',
    1 => 'インストール/設定',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/json/book.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/book.json.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="book.json" class="book">
 
 <h1 class="title">JavaScript Object Notation</h1>
 

 <div id="intro.json" class="preface">
  <h1 class="title">はじめに</h1>
  <p class="para">
   この拡張モジュールは、<a href="http://www.json.org/" class="link external">&raquo;&nbsp;JavaScript Object Notation (JSON)</a>
   というデータ交換形式を実装したものです。
   PHP には、PHP のためだけに特別に書かれた JSON パーサーが同梱されており、
   PHPライセンスのもとでライセンスされています。
  </p>
  
 <blockquote class="note"><p><strong class="note">注意</strong>: 
  <p class="para">
   PHP の実装は、
   <a href="https://datatracker.ietf.org/doc/html/rfc7159" class="link external">&raquo;&nbsp;RFC 7159</a> の JSON のスーパーセットです。
  </p>
 </p></blockquote>

 </div>

 









 






 





 





 









<ul class="chunklist chunklist_book"><li><a href="json.setup.php">インストール/設定</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="json.installation.php">インストール手順</a></li></ul></li><li><a href="json.constants.php">定義済み定数</a></li><li><a href="class.jsonexception.php">JsonException</a> — JsonException クラス</li><li><a href="class.jsonserializable.php">JsonSerializable</a> — JsonSerializable インターフェイス<ul class="chunklist chunklist_book chunklist_children"><li><a href="jsonserializable.jsonserialize.php">JsonSerializable::jsonSerialize</a> — JSON にシリアライズしたいデータを指定する</li></ul></li><li><a href="ref.json.php">JSON 関数</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.json-decode.php">json_decode</a> — JSON 文字列をデコードする</li><li><a href="function.json-encode.php">json_encode</a> — 値を JSON 形式にして返す</li><li><a href="function.json-last-error.php">json_last_error</a> — 直近に発生したエラーを返す</li><li><a href="function.json-last-error-msg.php">json_last_error_msg</a> — 直近の json_validate()、json_encode()、json_decode() の呼び出しのエラー文字列を返す</li><li><a href="function.json-validate.php">json_validate</a> — 文字列が有効なJSONかどうかを調べる</li></ul></li></ul></div><?php manual_footer($setup); ?>