datalust / seq-api

HTTP API client for Seq
https://datalust.co/seq
Apache License 2.0
77 stars 21 forks source link

Newtonsoft.Json -> System.Text.Json #126

Open beppemarazzi opened 8 months ago

beppemarazzi commented 8 months ago

First quick and dirty attempt to migrate from Newtonsoft.Json to System.Text.Json (see #125), strictly related and partially dependent on https://github.com/serilog/serilog-formatting-compact-reader/pull/37

@nblumhardt: Please consider this PR as a reference only! WARNING, WARNING, WARNING!!!!! in this case the only "test" i did was with SeqQuery and SeqTail tools, and both them SEEMS to work...

Warn also in this point (this is why AppVeyor fails to build): https://github.com/datalust/seq-api/blob/c7c0bef9ee5684b7a043e0105629045b08fcf48c/example/SeqTail/SeqTail.csproj#L16 where i "redirected" the dependency to my local nuget feed because i want to use serilog-formatting-compact-reader with https://github.com/serilog/serilog-formatting-compact-reader/pull/37 applied