Title: not a JSON array
Last modified: August 30, 2016

---

# not a JSON array

 *  [krishnenduvp](https://wordpress.org/support/users/krishnenduvp-1/)
 * (@krishnenduvp-1)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/not-a-json-array/)
 * The API url [http://pay4mb.com/sample4/wp-json/posts](http://pay4mb.com/sample4/wp-json/posts)
   still returns incorrect json string :(.
 * The response string must always be a JSON object, not a JSON array. It must start
   with a “{” and end with “}”.
 * how can I correct this ??
 * [https://wordpress.org/plugins/json-rest-api/](https://wordpress.org/plugins/json-rest-api/)

The topic ‘not a JSON array’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/json-rest-api_2e3641.svg)
 * [WP REST API (WP API)](https://wordpress.org/plugins/json-rest-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-rest-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-rest-api/)
 * [Active Topics](https://wordpress.org/support/plugin/json-rest-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-rest-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-rest-api/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [krishnenduvp](https://wordpress.org/support/users/krishnenduvp-1/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/not-a-json-array/)
 * Status: not resolved