Browse Source

document negative zero serialization

pull/7/head
Sami Vaarala 11 years ago
parent
commit
60c3529c35
  1. 15
      website/guide/customjson.html

15
website/guide/customjson.html

@ -129,6 +129,21 @@ encoding:</p>
<td>standard JSON</td>
</tr>
<tr>
<td>+0</td>
<td><code>0</code></td>
<td><code>0</code></td>
<td><code>0</code></td>
<td></td>
</tr>
<tr>
<td>-0</td>
<td><code>0</code></td>
<td><code>-0</code></td>
<td><code>-0</code></td>
<td>Standard JSON allows <code>-0</code> but serializes negative
zeroes as <code>0</code></td>
</tr>
<tr>
<td>NaN</td>
<td><code>null</code></td>
<td><code>NaN</code></td>

Loading…
Cancel
Save