Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 99e9570

Browse filesBrowse files
committed
Force serialization of non-public setter for JsonLdContext
1 parent 5886f88 commit 99e9570
Copy full SHA for 99e9570

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎Source/Common/JsonLdObject.cs

Copy file name to clipboardExpand all lines: Source/Common/JsonLdObject.cs
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public class JsonLdObject : IEquatable<JsonLdObject>
2525
[JsonPropertyName("@context")]
2626
[JsonPropertyOrder(0)]
2727
[JsonConverter(typeof(ContextJsonConverter))]
28+
[JsonInclude]
2829
public virtual JsonLdContext Context { get; internal set; } = new JsonLdContext();
2930

3031
/// <summary>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.