Skip to content

Commit

Permalink
Add JsonExtensionData member to HeaderJson (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
lesaltzm authored Aug 21, 2023
1 parent f9113c1 commit 941f06c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/PAModel/Schemas/HeaderJson.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// Licensed under the MIT License.

using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;

namespace Microsoft.AppMagic.Authoring.Persistence
{
Expand All @@ -12,6 +15,9 @@ internal class HeaderJson
public Version MSAppStructureVersion { get; set; }
public DateTime? LastSavedDateTimeUTC { get; set; }

[JsonExtensionData]
public Dictionary<string, JsonElement> ExtensionData { get; set; }

public static HeaderJson CreateDefault()
{
var defaultHeader = new HeaderJson();
Expand Down

0 comments on commit 941f06c

Please sign in to comment.