Commit 5347c27b authored by Kyle Clarke's avatar Kyle Clarke 💬

Altered order of where to twitter me =]

parent 8db91fe2
Pipeline #30124883 passed with stage
in 40 seconds
......@@ -5,10 +5,10 @@ ___
A simple util written in Go that parses a request body (of type []bytes) and returns whether the body is a JSON Object or Array type. Handy when consuming JSON api responses and you're not sure whether the resource returns a collection/array or a single record/object. Will return `unknown` if unable to match.
If the resource has followed the [http://jsonapi.org/format/](http://jsonapi.org/format/) spec, then a single entity should be an object, a collection an array. [Reference](http://jsonapi.org/format/#document-top-level)
If you like this package or are using for your own needs, then let me know via [https://twitter.com/kylehqcom](https://twitter.com/kylehqcom)
If the resource has followed the [http://jsonapi.org/format/](http://jsonapi.org/format/) spec, then a single entity should be an object, a collection an array. [Reference](http://jsonapi.org/format/#document-top-level)
```
Primary data MUST be either:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment