Return int64 in json as number
This commit is contained in:
parent
42a9feb2f3
commit
64658a0bd0
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user