Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
minitech
on May 7, 2017
|
parent
|
context
|
favorite
| on:
Why does Google prepend while(1); to their JSON re...
> Though couldn't you have it easier by making sure your top-level JSON structure is always an object?
Yes, this works too. You’re correct about any keys causing a syntax error.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Yes, this works too. You’re correct about any keys causing a syntax error.