diff --git a/Breeze.Sharp/JNode.cs b/Breeze.Sharp/JNode.cs index 82d7383..20a4716 100644 --- a/Breeze.Sharp/JNode.cs +++ b/Breeze.Sharp/JNode.cs @@ -1,4 +1,4 @@ - + using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; @@ -318,6 +318,7 @@ public Stream SerializeTo(Stream stream) { public TextWriter SerializeTo(TextWriter textWriter) { var serializer = new JsonSerializer(); serializer.Converters.Add(new StringEnumConverter()); + serializer.Converters.Add(new TimeSpanConverter()); #if DEBUG serializer.Formatting = Formatting.Indented;