diff options
| author | crobibero <cody@robibe.ro> | 2020-08-14 08:23:23 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-08-14 08:23:23 -0600 |
| commit | 64658a0bd0a7721f076fd0fe3abd471c823bd8d1 (patch) | |
| tree | c949b07af249e570acba811ccecfb86a53ee1366 | |
| parent | 42a9feb2f3b6bb38144779a5b90e0e2334fb40e2 (diff) | |
Return int64 in json as number
| -rw-r--r-- | MediaBrowser.Common/Json/Converters/JsonInt64Converter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Common/Json/Converters/JsonInt64Converter.cs b/MediaBrowser.Common/Json/Converters/JsonInt64Converter.cs index d18fd95d5..7a720a4c9 100644 --- a/MediaBrowser.Common/Json/Converters/JsonInt64Converter.cs +++ b/MediaBrowser.Common/Json/Converters/JsonInt64Converter.cs @@ -50,7 +50,7 @@ namespace MediaBrowser.Common.Json.Converters /// <param name="options">Options.</param> public override void Write(Utf8JsonWriter writer, long value, JsonSerializerOptions options) { - writer.WriteStringValue(value.ToString(NumberFormatInfo.InvariantInfo)); + writer.WriteNumberValue(value); } } } |
