Table of Contents

Class ResourceObject

Namespace
JsonApiDotNetCore.Serialization.Objects
Assembly
JsonApiDotNetCore.dll
[PublicAPI]
public sealed class ResourceObject : ResourceIdentifierObject
Inheritance
ResourceObject
Inherited Members

Properties

Attributes

[JsonPropertyName("attributes")]
[JsonPropertyOrder(1)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IDictionary<string, object?>? Attributes { get; set; }

Property Value

IDictionary<string, object>
[JsonPropertyName("links")]
[JsonPropertyOrder(3)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ResourceLinks? Links { get; set; }

Property Value

ResourceLinks

Relationships

[JsonPropertyName("relationships")]
[JsonPropertyOrder(2)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IDictionary<string, RelationshipObject?>? Relationships { get; set; }

Property Value

IDictionary<string, RelationshipObject>