Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
johns
on Oct 31, 2012
|
parent
|
context
|
favorite
| on:
WebScript.io: Just choose a URL and type in a scri...
JSON does not have to have a dictionary at the root. You can have just an array.
smarx
on Oct 31, 2012
[–]
Looks like you're right. From
http://www.ietf.org/rfc/rfc4627.txt
:
"A JSON text is a serialized object or array."
Now I don't know why I thought this wasn't allowed.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: