bytedance / sonic

A blazingly fast JSON serializing & deserializing library
Apache License 2.0
6.59k stars 327 forks source link

Support golang v1.22 #609

Closed rts-gordon closed 4 months ago

rts-gordon commented 4 months ago

Hi there,

My application use golang version: v1.22.1, sonic version: v1.10.2.

I upgrade golang to v1.22.1, there are some warnings for Sonic in VSC: WARNING: sonic only supports Go1.16~1.20 && CPU amd64, but your environment is not suitable

image

Some invalid char in Json parse failed with golang v1.22, but they can be parsed with golang v1.21. invalid character '\\t' in string literal, message: {\"server_id\":\"live11\", \"comment\":\"\ufffd\t\"}

Is there a plan for Sonic to support golang v1.22? Thank you.

AsterDY commented 4 months ago

See release log first, PLS