Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Song Gao <disxiaofei@163.com>
  • Loading branch information
Yisaer committed Dec 19, 2024
1 parent 94b19be commit e7565cb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/converter/json/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ func (f *FastJsonConverter) Decode(ctx api.StreamContext, b []byte) (m any, err
}()
f.RLock()
defer f.RUnlock()
if !f.UseInt64 && f.schema == nil {
var r any
err = json.Unmarshal(b, &r)
return r, err
}
return f.decodeWithSchema(b, f.schema)
}

Expand Down

0 comments on commit e7565cb

Please sign in to comment.