using Newtonsoft.Json.Linq;
namespace JSONAPI.Payload
{
///
/// Actions may return objects that implement this interface in order to
/// add metadata to the response.
///
public interface IPayload
{
///
/// The primary data of the response
///
object PrimaryData { get; }
///
/// Metadata to serialize at the top-level of the response
///
JObject Metadata { get; }
}
}