Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

Commit

Permalink
Fix issue with serialization. (#1277)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdriscoll authored Oct 22, 2019
1 parent 6b32b2f commit 532116b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UniversalDashboard/Utilities/PSObjectJsonConvert.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public override void WriteJson(JsonWriter writer, object value, JsonSerializer s
{
if (value is PSObject psObject)
{
writer.WriteRaw(JsonConvert.SerializeObject(psObject.BaseObject));
writer.WriteRawValue(JsonConvert.SerializeObject(psObject.BaseObject));
}
}
}
Expand Down

0 comments on commit 532116b

Please sign in to comment.