Table of Contents

Class EmptyResponseMeta

Namespace
JsonApiDotNetCore.Serialization.Response
Assembly
JsonApiDotNetCore.dll

Provides a method to obtain global JSON:API meta, which is added at top-level to a response Document. Use GetMeta(TResource) to specify nested metadata per individual resource.

public sealed class EmptyResponseMeta : IResponseMeta
Inheritance
EmptyResponseMeta
Implements
Inherited Members

Methods

GetMeta()

Gets the global top-level JSON:API meta information to add to the response.

public IDictionary<string, object?>? GetMeta()

Returns

IDictionary<string, object>