[HttpFoundation] added a note about JSON responses as arrays (refs #6970)
merged branch fabpot/json-response (PR #7846)

This PR was merged into the master branch.

Discussion
----------

[HttpFoundation] added a note about JSON responses as arrays (refs #6970)

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #6970
| License       | MIT
| Doc PR        | symfony/symfony-docs#2555

Commits
-------

abb32a1 [HttpFoundation] added a note about JSON responses as arrays (refs #6970)