<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.json.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'json.constants.php',
    1 => '&Ouml;ntanımlı Sabitler',
    2 => '&Ouml;ntanımlı Sabitler',
  ),
  'up' => 
  array (
    0 => 'book.json.php',
    1 => 'JSON',
  ),
  'prev' => 
  array (
    0 => 'json.installation.php',
    1 => 'Kurulum',
  ),
  'next' => 
  array (
    0 => 'class.jsonexception.php',
    1 => 'JsonException',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/json/constants.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="json.constants" class="appendix">
 <h1 class="title">Öntanımlı Sabitler</h1>

 <p class="simpara">
Buradaki sabitler bu eklenti için
tanımlanmış olup, sadece eklentinin PHP içinde derlenmiş olması veya çalışma
anında dinamik olarak yüklenmesi halinde kullanılabilir.</p>
 <p class="para">
  Aşağıdaki hata türü sabitleri, ya <span class="function"><a href="function.json-last-error.php" class="function">json_last_error()</a></span>
  tarafından döndürülür ya da <span class="classname"><a href="class.jsonexception.php" class="classname">JsonException</a></span> sınıfı
  altında bir <var class="varname">code</var> olarak saklanır.
 </p>
 <dl>
  
   <dt id="constant.json-error-none">
    <strong><code><a href="json.constants.php#constant.json-error-none">JSON_ERROR_NONE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Hata bulunamadı.
    </span>
   </dd>
  
  
   <dt id="constant.json-error-depth">
    <strong><code><a href="json.constants.php#constant.json-error-depth">JSON_ERROR_DEPTH</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Azami yığın boyutu aşıldı.
    </span>
   </dd>
  
  
    <dt id="constant.json-error-state-mismatch">
    <strong><code><a href="json.constants.php#constant.json-error-state-mismatch">JSON_ERROR_STATE_MISMATCH</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Kiplerin eşleşmemesi veya alttan taşma hatalarında oluşur.

    </span>
   </dd>
  
  
   <dt id="constant.json-error-ctrl-char">
    <strong><code><a href="json.constants.php#constant.json-error-ctrl-char">JSON_ERROR_CTRL_CHAR</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Denetim karakteri hatası, muhtemelen yanlış kodlanmış.

    </span>
   </dd>
  
  
   <dt id="constant.json-error-syntax">
    <strong><code><a href="json.constants.php#constant.json-error-syntax">JSON_ERROR_SYNTAX</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Sözdizimi hatası.

    </span>
   </dd>
  
  
   <dt id="constant.json-error-utf8">
    <strong><code><a href="json.constants.php#constant.json-error-utf8">JSON_ERROR_UTF8</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     UTF-8 karakter kodlama hatası, muhtemelen yanlış kodlanmış.
    </span>
   </dd>
  
  
   <dt id="constant.json-error-recursion">
    <strong><code><a href="json.constants.php#constant.json-error-recursion">JSON_ERROR_RECURSION</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     <span class="function"><a href="function.json-encode.php" class="function">json_encode()</a></span> işlevine iç içe başvurular içeren nesne
     veya dizi aktarılmış. <strong><code><a href="json.constants.php#constant.json-partial-output-on-error">JSON_PARTIAL_OUTPUT_ON_ERROR</a></code></strong>
     seçeneği belirtilirse iç içe başvuruların bulunduğu yerlere <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>
     yerleştirilir.
    </span>
   </dd>
  
  
   <dt id="constant.json-error-inf-or-nan">
    <strong><code><a href="json.constants.php#constant.json-error-inf-or-nan">JSON_ERROR_INF_OR_NAN</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     <span class="function"><a href="function.json-encode.php" class="function">json_encode()</a></span> işlevine
     <a href="language.types.float.php#language.types.float.nan" class="link"><strong><code><a href="math.constants.php#constant.nan">NAN</a></code></strong></a>
     veya <a href="function.is-infinite.php" class="link"><strong><code><a href="math.constants.php#constant.inf">INF</a></code></strong></a>
     içeren bir değer aktarılmış.
     <strong><code><a href="json.constants.php#constant.json-partial-output-on-error">JSON_PARTIAL_OUTPUT_ON_ERROR</a></code></strong> seçeneği belirtilirse bu
     özel sayıların yerine <code class="literal">0</code>yerleştirilir.
    </span>
   </dd>
  
  
   <dt id="constant.json-error-unsupported-type">
    <strong><code><a href="json.constants.php#constant.json-error-unsupported-type">JSON_ERROR_UNSUPPORTED_TYPE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     <span class="function"><a href="function.json-encode.php" class="function">json_encode()</a></span> işlevine desteklenmeyen türde
     (<span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> gibi) bir değer aktarılmış.
     <strong><code><a href="json.constants.php#constant.json-partial-output-on-error">JSON_PARTIAL_OUTPUT_ON_ERROR</a></code></strong> seçeneği belirtilirse
     desteklenmeyen değerin yerine <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> yerleştirilir.
    </span>
   </dd>
  
  
   <dt id="constant.json-error-invalid-property-name">
    <strong><code><a href="json.constants.php#constant.json-error-invalid-property-name">JSON_ERROR_INVALID_PROPERTY_NAME</a></code></strong>
   (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Bir JSON nesnesi bir PHP nesnesine dönüştürülürken
     <span class="function"><a href="function.json-decode.php" class="function">json_decode()</a></span> işlevine aktarılan dizede
     \u0000 karakteriyle başlayan bir anahtar vardı.
    </span>
   </dd>
  
  
   <dt id="constant.json-error-utf16">
    <strong><code><a href="json.constants.php#constant.json-error-utf16">JSON_ERROR_UTF16</a></code></strong>
   (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     <span class="function"><a href="function.json-decode.php" class="function">json_decode()</a></span> işlevine aktarılan JSON dizesinde
     bulunan unicode öncelemesi içindeki eşleştirilmemiş tekli UTF-16 vekil.
    </span>
   </dd>
  
 </dl>

 <p class="para">
  Aşağıdaki sabitler <span class="function"><a href="function.json-decode.php" class="function">json_decode()</a></span> için seçenekler
  oluşturmak üzere birleştirilebilir.
 </p>
 <dl>
  
   <dt id="constant.json-bigint-as-string">
    <strong><code><a href="json.constants.php#constant.json-bigint-as-string">JSON_BIGINT_AS_STRING</a></code></strong>
   (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Geniş tamsayıları özgün dize değerlerine dönüştürür.
    </span>
   </dd>
  
  
   <dt id="constant.json-object-as-array">
    <strong><code><a href="json.constants.php#constant.json-object-as-array">JSON_OBJECT_AS_ARRAY</a></code></strong>
   (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     JSON nesneleri PHP dizisine dönüştürür. Bu seçenek,
     <span class="function"><a href="function.json-decode.php" class="function">json_decode()</a></span> işlevine ikinci bağımsız değişken olarak
     <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> atanarak da eklenebilir.
    </span>
   </dd>
  
 </dl>

 <p class="para">
  Aşağıdaki sabitler <span class="function"><a href="function.json-encode.php" class="function">json_encode()</a></span> için seçenekler
  oluşturmak üzere birleştirilebilir.
 </p>
 <dl>
  
   <dt id="constant.json-hex-tag">
    <strong><code><a href="json.constants.php#constant.json-hex-tag">JSON_HEX_TAG</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Bütün &lt; ve &gt; karakterleri \u003C ve \u003E karakterlerine
     dönüştürülürler.
    </span>
   </dd>
  
  
   <dt id="constant.json-hex-amp">
    <strong><code><a href="json.constants.php#constant.json-hex-amp">JSON_HEX_AMP</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Bütün &amp; karakterleri \u0026 karakterlerine dönüştürülürler.

    </span>
   </dd>
  
  
   <dt id="constant.json-hex-apos">
    <strong><code><a href="json.constants.php#constant.json-hex-apos">JSON_HEX_APOS</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Bütün &#039; karakterleri \u0027 karakterlerine dönüştürülürler.

    </span>
   </dd>
  
  
   <dt id="constant.json-hex-quot">
    <strong><code><a href="json.constants.php#constant.json-hex-quot">JSON_HEX_QUOT</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Bütün &quot; karakterleri \u0022 dönüştürülürler.

    </span>
   </dd>
  
  
   <dt id="constant.json-force-object">
    <strong><code><a href="json.constants.php#constant.json-force-object">JSON_FORCE_OBJECT</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     İlişkisel olmayan dizi kullanıldığında çıktıları dizi yerine nesne
     olmaktadır. Özellikle dizi boş ve çıktı nesne olarak bekleniyorsa
     çok kullanışlıdır.
    </span>
   </dd>
  
  
   <dt id="constant.json-numeric-check">
    <strong><code><a href="json.constants.php#constant.json-numeric-check">JSON_NUMERIC_CHECK</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Sayısal dizgileri sayı olarak ele alınır.
    </span>
   </dd>
  
  
   <dt id="constant.json-pretty-print">
    <strong><code><a href="json.constants.php#constant.json-pretty-print">JSON_PRETTY_PRINT</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Dönen veriyi biçimlemek için boşluk karakteri kullanılır.
    </span>
   </dd>
  
  
   <dt id="constant.json-unescaped-slashes">
    <strong><code><a href="json.constants.php#constant.json-unescaped-slashes">JSON_UNESCAPED_SLASHES</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     <code class="literal">/</code> öncelenmez.
    </span>
   </dd>
  
  
   <dt id="constant.json-unescaped-unicode">
    <strong><code><a href="json.constants.php#constant.json-unescaped-unicode">JSON_UNESCAPED_UNICODE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Çokbaytlı Unicode karakteri sayısal değerleriyle kodlar. (\uXXXX biçimi
     öntanımlıdır).
    </span>
   </dd>
  
  
   <dt id="constant.json-partial-output-on-error">
    <strong><code><a href="json.constants.php#constant.json-partial-output-on-error">JSON_PARTIAL_OUTPUT_ON_ERROR</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Başarısız olmak yerine kodlanamayan bazı değerler değiştirilir.
    </span>
   </dd>
  
  
   <dt id="constant.json-preserve-zero-fraction">
    <strong><code><a href="json.constants.php#constant.json-preserve-zero-fraction">JSON_PRESERVE_ZERO_FRACTION</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     <span class="type"><a href="language.types.float.php" class="type float">float</a></span> değerlerin daima kayan noktalı değerler olarak kodlanmasını
     sağlar.
    </span>
   </dd>
  
  
   <dt id="constant.json-unescaped-line-terminators">
    <strong><code><a href="json.constants.php#constant.json-unescaped-line-terminators">JSON_UNESCAPED_LINE_TERMINATORS</a></code></strong>
   (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     <strong><code><a href="json.constants.php#constant.json-unescaped-unicode">JSON_UNESCAPED_UNICODE</a></code></strong> sağlandığı takdirde satırsonu
     karakterleri öncelenmeden saklanır; PHP 7.1 öncesinde aynı davranışı
     sağlamak için bu sabit gerekmiyordu.
     PHP 7.1.0 sürümünden itibaren kullanılabilir.
    </span>
   </dd>
  
 </dl>

 <p class="para">
  Aşağıdaki sabitler <span class="function"><a href="function.json-encode.php" class="function">json_encode()</a></span> ve
  <span class="function"><a href="function.json-decode.php" class="function">json_decode()</a></span> için seçenekler
  oluşturmak üzere birleştirilebilir.
 </p>
 <dl>
  
   <dt id="constant.json-invalid-utf8-ignore">
    <strong><code><a href="json.constants.php#constant.json-invalid-utf8-ignore">JSON_INVALID_UTF8_IGNORE</a></code></strong>
   (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Geçersiz UTF-8 karakterleri yoksayılır.
     PHP 7.2.0 sürümünden itibaren kullanılabilir.
    </span>
   </dd>
  
  
   <dt id="constant.json-invalid-utf8-substitute">
    <strong><code><a href="json.constants.php#constant.json-invalid-utf8-substitute">JSON_INVALID_UTF8_SUBSTITUTE</a></code></strong>
   (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Geçersiz UTF-8 karakterleri \0xfffd karakterine dönüştürülür.
     PHP 7.2.0 sürümünden itibaren kullanılabilir.
    </span>
   </dd>
  
  
   <dt id="constant.json-throw-on-error">
    <strong><code><a href="json.constants.php#constant.json-throw-on-error">JSON_THROW_ON_ERROR</a></code></strong>
   (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Bir hata oluşursa küresel hata durumunu
     <span class="function"><a href="function.json-last-error.php" class="function">json_last_error()</a></span> ve
     <span class="function"><a href="function.json-last-error-msg.php" class="function">json_last_error_msg()</a></span> ile ayarlamak yerine bir
     <span class="classname"><a href="class.jsonexception.php" class="classname">JsonException</a></span> atanır.
     <strong><code><a href="json.constants.php#constant.json-partial-output-on-error">JSON_PARTIAL_OUTPUT_ON_ERROR</a></code></strong> sabiti
     <strong><code><a href="json.constants.php#constant.json-throw-on-error">JSON_THROW_ON_ERROR</a></code></strong> sabitine göre önceliklidir.
     PHP 7.3.0 sürümünden itibaren kullanılabilir.
    </span>
   </dd>
  
  
   <dt id="constant.json-error-non-backed-enum">
    <strong><code><a href="json.constants.php#constant.json-error-non-backed-enum">JSON_ERROR_NON_BACKED_ENUM</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     <span class="function"><a href="function.json-encode.php" class="function">json_encode()</a></span>&#039;a aktarılan değer, dizgeleştirilemeyen,
     desteksiz bir sayılama içeriyor.
     PHP 8.1.0 ve sonrasında kullanılabilir.
    </span>
   </dd>
  
 </dl>
</div>
<?php manual_footer($setup); ?>