Skip to content

Commit

Permalink
trying to get Grid1d to deserialize correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonie-kramer committed Dec 7, 2023
1 parent 19f8ca6 commit 25ecdca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Elements/src/Spatial/Grid1d.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ public class Grid1d
/// <summary>
/// An optional type designation for this cell.
/// </summary>
[JsonPropertyName("Type")]
public string Type { get; set; }

/// <summary>
/// Child cells of this Grid. If null, this Grid is a complete cell with no subdivisions.
/// </summary>
[JsonPropertyName("Cells")]
public List<Grid1d> Cells
{
get => cells;
Expand All @@ -39,6 +41,7 @@ public List<Grid1d> Cells
/// <summary>
/// Numerical domain of this Grid
/// </summary>
[JsonPropertyName("Domain")]
public Domain1d Domain { get; }

/// <summary>
Expand Down

0 comments on commit 25ecdca

Please sign in to comment.