In standard routing, when the input parameter is JSON Array, json.RawMessage
cannot be used
#3449
Labels
bug
It is confirmed a bug, but don't worry, we'll handle it.
What version of
Go
and system type/arch are you using?#-> % go version go version go1.21.7 darwin/amd64
What version of
GoFrame
are you using?Can this bug be re-produced with the latest release?
What did you do?
示例代码
请求示例
由于 Array 无法序列化,导致我直接输出原参数会报错
参考:
gf/util/gconv/gconv_convert.go
Line 272 in 1ffb510
其中使用
Bytes
转换,导致无法获取源数据,参考:gf/util/gconv/gconv.go
Line 83 in 1ffb510
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: