Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #57 from mochablendy/mochablendy-jil-options
Browse files Browse the repository at this point in the history
fix Jil.Options is not passed on to the serializer
  • Loading branch information
neuecc committed May 23, 2016
2 parents c5388c7 + 57dac3d commit fac1bcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/LightNode.Formatter.Jil/JilContentFormatter.cs
Expand Up @@ -37,7 +37,7 @@ public override void Serialize(System.IO.Stream stream, object obj)
{
using (var sw = new StreamWriter(stream, Encoding ?? new UTF8Encoding(false)))
{
JSON.Serialize(obj, sw);
JSON.Serialize(obj, sw, options);
}
}

Expand Down Expand Up @@ -119,4 +119,4 @@ public IContentFormatter CreateFormatter()
return new GZipJilContentFormatter();
}
}
}
}

0 comments on commit fac1bcf

Please sign in to comment.