Table of Contents

Class Inheritdoc.Issue9736.JsonApiOptions

Namespace
BuildFromProject
Assembly
BuildFromProject.dll
public sealed class Inheritdoc.Issue9736.JsonApiOptions : Inheritdoc.Issue9736.IJsonApiOptions
Inheritance
Inheritdoc.Issue9736.JsonApiOptions
Implements
Inherited Members

Properties

Whether to use relative links for all resources. false by default.

public bool UseRelativeLinks { get; set; }

Property Value

bool
options.UseRelativeLinks = true;
{
  "type": "articles",
  "id": "4309",
  "relationships": {
     "author": {
       "links": {
         "self": "/api/shopping/articles/4309/relationships/author",
         "related": "/api/shopping/articles/4309/author"
       }
     }
  }
}