Skip to content

Commit

Permalink
improved unmarshal error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
adranwit committed Sep 6, 2024
1 parent bd065ff commit 90f1e06
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gateway/router/marshal/json/marshaller_struct.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package json

import (
"fmt"
"github.com/francoispqt/gojay"
"github.com/viant/datly/gateway/router/marshal/config"
structology "github.com/viant/structology"
Expand Down Expand Up @@ -437,7 +436,6 @@ func groupFields(elemType reflect.Type) *groupedFields {
}

func (d *structDecoder) UnmarshalJSONObject(decoder *gojay.Decoder, fieldName string) error {
fmt.Println("UnmarshalJSONObject", fieldName)
err := d.unmarshalJson(decoder, fieldName)
if err == nil {
err = decoderError(decoder)
Expand Down

0 comments on commit 90f1e06

Please sign in to comment.