]> git.feebdaed.xyz Git - 0xmirror/quic-go.git/commit
qlog: implement a minimal jsontext-like JSON encoder (#5353)
authorMarten Seemann <martenseemann@gmail.com>
Mon, 6 Oct 2025 04:48:40 +0000 (12:48 +0800)
committerGitHub <noreply@github.com>
Mon, 6 Oct 2025 04:48:40 +0000 (06:48 +0200)
commite6d5d960e3cc0d5c63271ccc24c79bb1a5511a06
treedd1b258dde0fd980010deac95ec68897ef42bedb
parent7c1ce0efe280e4d82acad43b8cd8284596361103
qlog: implement a minimal jsontext-like JSON encoder (#5353)

* qlog: use fork of encoding/json/jsontext instead of unmaintained gojay

* implement a minimal jsontext-compatible encoder

* qlogtext: improve fuzz test

* qlog: simplify JSON encoding error handling

* qlog: make use of jsontext.Bool
14 files changed:
go.mod
go.sum
qlog/connection_tracer.go
qlog/event.go
qlog/event_test.go
qlog/frame.go
qlog/frame_test.go
qlog/json_helper_test.go
qlog/jsontext/encoder.go [new file with mode: 0644]
qlog/jsontext/encoder_test.go [new file with mode: 0644]
qlog/packet_header.go
qlog/packet_header_test.go
qlog/trace.go
qlog/writer.go