Skip to content

Conversation

@noinkling
Copy link

@noinkling noinkling commented Jun 4, 2016

Currently the data is returned as a string, generally people want this to be an object when the response format is JSON (which it is by default).

If users do in fact want a string, they can just do a JSON.stringify(), or if #10 was accepted they could access response.body.

Breaking change so would need a minor version bump if accepted.

@noinkling noinkling changed the title Return an object instead of a string when format = json Return an object instead of a string when format is json Jun 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant