Permalink
Browse files

FAQ verbiage changes

  • Loading branch information...
1 parent bb84975 commit c435cf84079016763b9ca7725625bc4d31d23dec @umbrae committed May 16, 2011
Showing with 4 additions and 8 deletions.
  1. +4 −8 index.html
View
@@ -117,22 +117,18 @@ <h1 id="headerText">
<div>
<dl>
<dt>
- <code>syntax error, unexpected '}', expecting TSTRING at line X</code>
+ <code>Expecting 'STRING'</code>
</dt>
<dd>
You probably have an extra comma at the end of your collection. Something like: <code>{ "a": "b"<span class="highlight">,</span> }</code>
</dd>
<dt>
- <code>syntax error, unexpected ']' at line X</code>
+ <code>Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['</code>
</dt>
<dd>
You probably have an extra comma at the end of your list. Something like: <code>[ "a", "b"<span class="highlight">,</span> ]</code>
- </dd>
- <dt>
- <code>syntax error, unexpected TINVALID, expecting TSTRING or '}' at line X</code>
- </dt>
- <dd>
- You may have not enclosed your collection keys in quotes. Proper format for a collection is: <code>{ "key": "value" }</code>
+ <br />
+ You also may have not enclosed your collection keys in quotes. Proper format for a collection is: <code>{ "key": "value" }</code>
</dd>
</dl>
<p>

0 comments on commit c435cf8

Please sign in to comment.