com.github.lkalwa.scala_streamable_jsonapi
According to jsonapi spec (http://jsonapi.org/format/):
data - may be an object OR array of objects, so it will be streamed if it's an array of objects
errors, included - have to be an array, and will be streamed
jsonapi, meta, links - are objects, thus no streaming.
According to jsonapi spec (http://jsonapi.org/format/):
data - may be an object OR array of objects, so it will be streamed if it's an array of objects
errors, included - have to be an array, and will be streamed
jsonapi, meta, links - are objects, thus no streaming.
If there is only one object for data, no startData and endData events will be called on handler,
parsed data object will be passed to data method on handler