wazero v1.7.2.

This commit is contained in:
Nuno Cruces
2024-06-11 22:57:29 +01:00
parent ef065b6baa
commit f7ac77027c
9 changed files with 29 additions and 34 deletions

View File

@@ -177,7 +177,7 @@ func (v Value) JSON(ptr any) error {
var data []byte
switch v.Type() {
case NULL:
data = append(data, "null"...)
data = []byte("null")
case TEXT:
data = v.RawText()
case BLOB: