Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions batch_item_model.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,7 @@ func deserializeNodes(value []*jsonserialization.JsonParseNode) (interface{}, er

func deserializeValue(value interface{}) (interface{}, error) {
switch v := value.(type) {
case int:
case float64:
case string:
return value, nil
case *int:
case *float64:
case *string:
case int, float64, string, *int, *float64, *string:
return value, nil
case jsonserialization.JsonParseNode:
case *jsonserialization.JsonParseNode:
Expand Down