Return int64 in json as number

pull/3898/head
crobibero 4 years ago
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…
Cancel
Save