Switch from custom RawJSON to json.RawMessage

https://github.com/mxmCherry/openrtb/issues/23
This commit is contained in:
Max Cherry
2018-03-03 09:49:12 +02:00
parent c426d335a3
commit fd8bfbb100
45 changed files with 139 additions and 299 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
package openrtb
import "encoding/json"
// 3.2.2 Object: Source
//
// This object describes the nature and behavior of the entity that is the source of the bid request upstream from the exchange.
@@ -40,5 +42,5 @@ type Source struct {
// object
// Description:
// Placeholder for exchange-specific extensions to OpenRTB.
Ext RawJSON `json:"ext,omitempty"`
Ext json.RawMessage `json:"ext,omitempty"`
}