// filter returns the resource value after applying the filters
filter returns the resource value after applying the filters
// filter returns the resource value after applying the filters
func (JsonResource) filter(dict gin.H) gin.H {
	data := gin.H{}
	for key, value := range dict {
		switch v := value.(type) {
		case *JsonResource:
			data[key] = v.resolve()
		case *MissingValue:
		default:
			data[key] = value
		}
	}
	return data
}
func ( JsonResource ) filter ( dict gin . H ) gin . H { data := gin . H { } for key , value := range dict { switch v := value . ( type ) { case * JsonResource : data [ key ] = v . resolve ( ) case * MissingValue : default : data [ key ] = value } } return data }
filter returns the resource value after applying the filters
filter returns the resource value after applying the filters
// skip