Simple extension to facilitate the specialized JsonStrategy and JsonRenderer in this Module.

### Methods

## Retrieve the payload for the response

    getPayload() : mixed

### Returns

`mixed`

## Does the payload represent an API-Problem?

    isApiProblem() : bool

### Returns

`bool`

## Does the payload represent a HAL collection?

    isHalCollection() : bool

### Returns

`bool`

## Does the payload represent a HAL item?

    isHalResource() : bool

### Returns

`bool`

## Set the payload for the response

    setPayload(mixed $payload) : \PhlyRestfully\View\RestfulJsonModel

This is the value to represent in the response.

### Parameters

#### $payload

`mixed`

### Returns

`\PhlyRestfully\View\RestfulJsonModel`