text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (p PresetConfigurations) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "complexity", p.Complexity)
populate(objectMap, "interleaveOutput", p.InterleaveOutput)
populate(objectMap, "keyFrameIntervalInSeconds", p.KeyFrameIntervalInSeconds)
populate(objectMap, "maxBitrateBp... | [
-0.872212290763855,
0.21453721821308136,
0.46241286396980286,
-0.016864096745848656,
-0.23823460936546326,
-0.14328093826770782,
0.990795373916626,
-0.18714189529418945,
-0.07091210782527924,
0.3220570683479309,
-1.0072904825210571,
0.3604316711425781,
-0.5456907153129578,
0.90572249889373... |
func (p *PresetConfigurations) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", p, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "complexity":
err = unpopul... | [
-1.0153144598007202,
0.4679219722747803,
0.7718542218208313,
-0.6638534665107727,
-0.8267717957496643,
-0.32785582542419434,
0.7287102341651917,
-0.8101944327354431,
-0.5802340507507324,
0.669626772403717,
-0.3259718120098114,
0.2853049039840698,
-0.446306973695755,
1.0564178228378296,
0... |
func (p PrivateEndpoint) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", p.ID)
return json.Marshal(objectMap)
} | [
-1.2097529172897339,
-0.4042963683605194,
0.18976226449012756,
-0.4726595878601074,
0.32510581612586975,
-0.2536928653717041,
-0.03367709740996361,
-0.08244328945875168,
0.4752587378025055,
0.5228484272956848,
-1.4911365509033203,
0.26270315051078796,
-1.0502851009368896,
0.404342353343963... |
func (p *PrivateEndpoint) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", p, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulate(val, "ID"... | [
-1.0207672119140625,
0.284288227558136,
0.7117312550544739,
-1.0631252527236938,
-0.03793331980705261,
-0.18016627430915833,
0.10838261246681213,
-0.4734680652618408,
0.04244768247008324,
0.9344982504844666,
-0.5755539536476135,
-0.21655097603797913,
-0.9796110987663269,
0.3297539949417114... |
func (p PrivateEndpointConnection) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", p.ID)
populate(objectMap, "name", p.Name)
populate(objectMap, "properties", p.Properties)
populate(objectMap, "type", p.Type)
return json.Marshal(objectMap)
} | [
-1.284637451171875,
-0.7832932472229004,
0.29690536856651306,
-0.5339125394821167,
0.022166037932038307,
-0.6822442412376404,
0.07359441369771957,
0.30435091257095337,
0.08127430081367493,
0.3281559348106384,
-0.8249858021736145,
0.13930059969425201,
-1.1137242317199707,
0.4730994701385498... |
func (p *PrivateEndpointConnection) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", p, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulate... | [
-1.507029414176941,
0.01535069476813078,
0.9128962159156799,
-1.2510061264038086,
-0.30999860167503357,
-0.6352710127830505,
0.07966620475053787,
-0.5148680806159973,
-0.5421865582466125,
0.8040192127227783,
-0.023459836840629578,
-0.2999781370162964,
-0.9166314005851746,
0.482386350631713... |
func (p PrivateEndpointConnectionListResult) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "value", p.Value)
return json.Marshal(objectMap)
} | [
-1.3636029958724976,
-0.004022275097668171,
-0.018261302262544632,
-0.33680620789527893,
0.0372278206050396,
-0.8723623156547546,
-0.339907169342041,
-0.14650027453899384,
0.5538739562034607,
0.06959766894578934,
-0.997452974319458,
-0.5865896940231323,
-0.7041240334510803,
0.5071514248847... |
func (p *PrivateEndpointConnectionListResult) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", p, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "value":
err... | [
-1.2248005867004395,
0.6983162760734558,
0.3987579345703125,
-0.9037802219390869,
-0.40450090169906616,
-0.8627203106880188,
-0.2752998471260071,
-0.6037636399269104,
-0.020008889958262444,
0.7498743534088135,
-0.5900756120681763,
-0.9983747601509094,
-0.7301705479621887,
0.479431122541427... |
func (p PrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "privateEndpoint", p.PrivateEndpoint)
populate(objectMap, "privateLinkServiceConnectionState", p.PrivateLinkServiceConnectionState)
populate(objectMap, "provisioningState", p.Provisioni... | [
-1.0674091577529907,
-1.1126124858856201,
-0.036269623786211014,
-0.4502403736114502,
-0.034691620618104935,
-0.45581719279289246,
-0.212852343916893,
0.3294788599014282,
0.07623108476400375,
0.10381131619215012,
-0.4095562696456909,
-0.15797170996665955,
-0.9883580803871155,
0.00222750846... |
func (p *PrivateEndpointConnectionProperties) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", p, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "privateEndpoin... | [
-1.2956660985946655,
-0.6209535598754883,
0.45700064301490784,
-0.904046356678009,
-0.5074911713600159,
-0.35597434639930725,
-0.3290809690952301,
-0.05822185054421425,
-0.17371085286140442,
0.48415088653564453,
0.3298114240169525,
-0.27349385619163513,
-0.9003802537918091,
-0.074079938232... |
func (p PrivateLinkResource) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", p.ID)
populate(objectMap, "name", p.Name)
populate(objectMap, "properties", p.Properties)
populate(objectMap, "type", p.Type)
return json.Marshal(objectMap)
} | [
-0.5745262503623962,
-1.3555104732513428,
0.13756896555423737,
-0.7658219337463379,
0.17050206661224365,
-0.4532302916049957,
0.012697226367890835,
0.3220492899417877,
0.5067285895347595,
-0.24686552584171295,
-0.9879533648490906,
0.8399393558502197,
-0.6173372268676758,
0.9332981109619141... |
func (p *PrivateLinkResource) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", p, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulate(val, ... | [
-0.6559895277023315,
-0.3079744577407837,
0.47354164719581604,
-1.6270167827606201,
-0.3605533838272095,
-0.7207207679748535,
0.07296814024448395,
0.010050383396446705,
-0.11740046739578247,
0.34140369296073914,
-0.25179383158683777,
0.23248173296451569,
-0.9042887687683105,
0.994340300559... |
func (p PrivateLinkResourceListResult) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "value", p.Value)
return json.Marshal(objectMap)
} | [
-0.7049464583396912,
-0.7114006876945496,
-0.03984881192445755,
-0.6409146785736084,
-0.13472498953342438,
-0.49425259232521057,
-0.055573370307683945,
0.10385853797197342,
1.0200897455215454,
-0.3335253894329071,
-1.2946373224258423,
0.058878883719444275,
-0.6337223052978516,
0.9416009783... |
func (p *PrivateLinkResourceListResult) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", p, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "value":
err = unp... | [
-0.6107510924339294,
0.08685138821601868,
0.2431066781282425,
-1.193796157836914,
-0.47265276312828064,
-0.8035249710083008,
-0.10104096680879593,
-0.08336132019758224,
0.35322505235671997,
0.24739699065685272,
-0.768778920173645,
-0.3527420461177826,
-0.6896196007728577,
0.967595815658569... |
func (p PrivateLinkResourceProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "groupId", p.GroupID)
populate(objectMap, "requiredMembers", p.RequiredMembers)
populate(objectMap, "requiredZoneNames", p.RequiredZoneNames)
return json.Marshal(objectMap)
} | [
-0.15641188621520996,
-1.363576054573059,
-0.16881030797958374,
-0.5595143437385559,
0.07456573843955994,
0.00563932117074728,
0.7590036392211914,
0.11199679970741272,
0.3649623990058899,
-0.31486114859580994,
-0.6618502140045166,
0.4469113051891327,
-1.1655290126800537,
0.9526026844978333... |
func (p *PrivateLinkResourceProperties) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", p, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "groupId":
err = u... | [
-0.37336450815200806,
-0.7277430295944214,
0.1681789755821228,
-1.2310822010040283,
-0.4636988639831543,
-0.30069994926452637,
0.5117838382720947,
0.024095363914966583,
-0.08866342902183533,
0.10042756050825119,
-0.07678019255399704,
0.1323414146900177,
-1.087876319885254,
0.70609021186828... |
func (p PrivateLinkServiceConnectionState) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "actionsRequired", p.ActionsRequired)
populate(objectMap, "description", p.Description)
populate(objectMap, "status", p.Status)
return json.Marshal(objectMap)
} | [
-0.5905357599258423,
-0.9632739424705505,
0.1536443829536438,
-0.5683460831642151,
-0.3998774588108063,
-0.4029342234134674,
-0.18811029195785522,
0.1621166616678238,
0.6890178322792053,
-0.775564968585968,
-0.31043508648872375,
0.14319682121276855,
-0.12495214492082596,
1.0413708686828613... |
func (p *PrivateLinkServiceConnectionState) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", p, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "actionsRequired"... | [
-0.589240550994873,
-0.1298990398645401,
0.5871822237968445,
-1.291698694229126,
-0.7665238380432129,
-0.5579736828804016,
-0.2747366726398468,
-0.13966475427150726,
0.08961073309183121,
-0.24674272537231445,
0.20607852935791016,
-0.2873862087726593,
-0.3868352472782135,
0.9682939052581787... |
func (p Properties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "serviceSpecification", p.ServiceSpecification)
return json.Marshal(objectMap)
} | [
-0.799166738986969,
-0.476591557264328,
-0.059001583606004715,
-1.0313410758972168,
0.16777971386909485,
-0.2529680132865906,
-0.3059195280075073,
0.769615650177002,
0.23560327291488647,
-0.09158360958099365,
0.042787693440914154,
0.6211036443710327,
-0.26737189292907715,
0.509553074836731... |
func (p *Properties) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", p, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "serviceSpecification":
err = unpopul... | [
-0.5715600848197937,
0.27432796359062195,
0.4115976393222809,
-1.476095199584961,
-0.3351248502731323,
-0.38349631428718567,
0.011634506285190582,
0.2415076494216919,
-0.18476572632789612,
0.2704441547393799,
0.4785381257534027,
0.0739036500453949,
-0.4427355229854584,
0.4944169521331787,
... |
func (p ProxyResource) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", p.ID)
populate(objectMap, "name", p.Name)
populate(objectMap, "type", p.Type)
return json.Marshal(objectMap)
} | [
-0.8004125356674194,
-0.6594558954238892,
0.015554803423583508,
-0.7318087816238403,
-0.4233188033103943,
-0.4571605324745178,
-0.1372038722038269,
0.93950355052948,
-0.3754136860370636,
0.4104052782058716,
-0.874139666557312,
0.1280825287103653,
-0.4266654849052429,
0.7561065554618835,
... |
func (p *ProxyResource) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", p, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulate(val, "ID", ... | [
-0.7792778015136719,
0.4480161666870117,
0.4497401714324951,
-1.5936079025268555,
-0.7145162224769592,
-0.6143669486045837,
0.034243468195199966,
0.5004507303237915,
-0.9202916026115417,
0.6983360648155212,
-0.06385917961597443,
-0.3456912040710449,
-0.7328628301620483,
0.8542363047599792,... |
func (r Rectangle) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "height", r.Height)
populate(objectMap, "left", r.Left)
populate(objectMap, "top", r.Top)
populate(objectMap, "width", r.Width)
return json.Marshal(objectMap)
} | [
-0.5773919224739075,
-0.6077967286109924,
0.47826874256134033,
-0.40519487857818604,
-0.39699864387512207,
-0.4556896984577179,
0.2016938328742981,
0.003650538856163621,
0.1362752914428711,
0.48211196064949036,
-1.183751106262207,
-0.2326485812664032,
-0.2958517074584961,
0.900248944759368... |
func (r *Rectangle) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", r, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "height":
err = unpopulate(val, "Heigh... | [
-0.8285927176475525,
0.11508180946111679,
0.8588102459907532,
-1.1837903261184692,
-0.5364746451377869,
-0.34609144926071167,
0.45912209153175354,
-0.442776620388031,
-0.3376329243183136,
0.4777534604072571,
-0.2894778251647949,
-0.4040527939796448,
-0.5092211961746216,
0.860235869884491,
... |
func (r Resource) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", r.ID)
populate(objectMap, "name", r.Name)
populate(objectMap, "type", r.Type)
return json.Marshal(objectMap)
} | [
-0.8777965307235718,
-0.8981334567070007,
-0.02489074319601059,
-0.5435884594917297,
-0.3370142877101898,
-0.2275361716747284,
0.18799838423728943,
0.22152461111545563,
0.11074912548065186,
0.5953806042671204,
-1.415595531463623,
0.1705232858657837,
-0.2948770523071289,
0.9048370122909546,... |
func (r *Resource) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", r, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulate(val, "ID", &r.ID... | [
-0.8664268851280212,
0.31368330121040344,
0.3487131893634796,
-1.259582757949829,
-0.4554937183856964,
-0.41652482748031616,
0.296382874250412,
-0.14844468235969543,
-0.26154330372810364,
1.0889761447906494,
-0.3616753816604614,
-0.4733581840991974,
-0.6192173361778259,
0.8711479902267456,... |
func (r ResourceIdentity) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "useSystemAssignedIdentity", r.UseSystemAssignedIdentity)
populate(objectMap, "userAssignedIdentity", r.UserAssignedIdentity)
return json.Marshal(objectMap)
} | [
-0.5717687606811523,
-1.2634379863739014,
0.17489807307720184,
0.018885456025600433,
0.7791858911514282,
-0.055471308529376984,
0.8054046630859375,
-0.0894194021821022,
0.7150321006774902,
0.4785618782043457,
-1.1727397441864014,
-0.38683947920799255,
0.011799376457929611,
0.82402622699737... |
func (r *ResourceIdentity) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", r, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "useSystemAssignedIdentity":
er... | [
-0.7691441178321838,
-0.474822998046875,
0.5012592673301697,
-0.6711876392364502,
0.39625680446624756,
-0.16640564799308777,
0.662727415561676,
-0.29082992672920227,
0.3704501986503601,
1.2182191610336304,
-0.6467940211296082,
-0.6210190057754517,
-0.3402967154979706,
0.9552475810050964,
... |
func (s SelectAudioTrackByAttribute) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "attribute", s.Attribute)
populate(objectMap, "channelMapping", s.ChannelMapping)
populate(objectMap, "filter", s.Filter)
populate(objectMap, "filterValue", s.FilterValue)
objectMap["@odata.t... | [
0.19314032793045044,
-0.5205955505371094,
0.3876766264438629,
-0.8784195780754089,
-0.3231528699398041,
-0.7856553196907043,
1.3303816318511963,
-0.7961787581443787,
-0.032583046704530716,
0.737989604473114,
-0.27207642793655396,
0.7417685389518738,
0.6784208416938782,
0.28884902596473694,... |
func (s *SelectAudioTrackByAttribute) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "attribute":
err = u... | [
-0.20084504783153534,
0.18275126814842224,
0.8476720452308655,
-1.4702098369598389,
-0.5410248637199402,
-0.9713411331176758,
1.260388731956482,
-1.141135811805725,
-0.8541464805603027,
0.6751636862754822,
0.23853230476379395,
0.316097617149353,
0.30382245779037476,
0.4127141833305359,
0... |
func (s SelectAudioTrackByID) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "channelMapping", s.ChannelMapping)
objectMap["@odata.type"] = "#Microsoft.Media.SelectAudioTrackById"
populate(objectMap, "trackId", s.TrackID)
return json.Marshal(objectMap)
} | [
0.16847293078899384,
-0.4319295287132263,
0.24549855291843414,
-0.46716734766960144,
-0.14924198389053345,
-0.6855560541152954,
0.37968572974205017,
-1.1719921827316284,
0.29944223165512085,
0.5070174336433411,
-0.6867395043373108,
0.5461912155151367,
0.1404382586479187,
0.264216810464859,... |
func (s *SelectAudioTrackByID) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "channelMapping":
err = unp... | [
-0.2402520626783371,
0.13976824283599854,
0.6832749247550964,
-1.1628026962280273,
-0.34658119082450867,
-0.8048619031906128,
0.44507938623428345,
-1.3241040706634521,
-0.38818222284317017,
0.6141425371170044,
-0.10487078875303268,
0.24546536803245544,
-0.07337674498558044,
0.3272197842597... |
func (s SelectVideoTrackByAttribute) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "attribute", s.Attribute)
populate(objectMap, "filter", s.Filter)
populate(objectMap, "filterValue", s.FilterValue)
objectMap["@odata.type"] = "#Microsoft.Media.SelectVideoTrackByAttribute"
r... | [
0.014280617237091064,
-0.6601665616035461,
0.1952534019947052,
0.28650400042533875,
-0.5137357115745544,
-1.219917893409729,
0.8910729289054871,
-0.46377426385879517,
0.07854007184505463,
0.9336206316947937,
-0.5316047668457031,
0.9615688323974609,
0.13082733750343323,
0.42200684547424316,... |
func (s *SelectVideoTrackByAttribute) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "attribute":
err = u... | [
-0.19745779037475586,
-0.025451872497797012,
0.7198972105979919,
-0.5789583325386047,
-0.6774731278419495,
-1.237206220626831,
0.8370530009269714,
-0.8930174708366394,
-0.6360331177711487,
0.9031437635421753,
0.03821270540356636,
0.6980295181274414,
-0.06211112067103386,
0.6021474599838257... |
func (s SelectVideoTrackByID) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
objectMap["@odata.type"] = "#Microsoft.Media.SelectVideoTrackById"
populate(objectMap, "trackId", s.TrackID)
return json.Marshal(objectMap)
} | [
0.04963241517543793,
-0.4037298560142517,
-0.009102473966777325,
0.7214426398277283,
-0.5211442708969116,
-1.1118887662887573,
-0.17309987545013428,
-0.7561792731285095,
0.5038362145423889,
0.6733401417732239,
-1.083000659942627,
0.7105931043624878,
-0.5163559913635254,
0.6765115261077881,... |
func (s *SelectVideoTrackByID) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "@odata.type":
err = unpopu... | [
-0.1665104776620865,
0.08564751595258713,
0.5266913771629333,
-0.2557530999183655,
-0.5012942552566528,
-1.0484102964401245,
0.10798081755638123,
-0.9998190402984619,
-0.14714600145816803,
0.8203381299972534,
-0.2990874648094177,
0.4581685960292816,
-0.5212275981903076,
0.7511955499649048,... |
func (s ServiceSpecification) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "logSpecifications", s.LogSpecifications)
populate(objectMap, "metricSpecifications", s.MetricSpecifications)
return json.Marshal(objectMap)
} | [
-0.04058389738202095,
0.14888496696949005,
0.1438530683517456,
-0.5941442847251892,
-0.14778092503547668,
-0.3746442496776581,
0.1439514458179474,
0.03187165409326553,
-0.22087736427783966,
0.5235410928726196,
-0.5472787618637085,
1.1734479665756226,
0.5311105251312256,
0.6594822406768799,... |
func (s *ServiceSpecification) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "logSpecifications":
err = ... | [
-0.3961035907268524,
0.6845448613166809,
0.42017003893852234,
-1.1673146486282349,
-0.42353302240371704,
-0.6952797770500183,
0.10081499069929123,
-0.18928788602352142,
-0.6381531357765198,
1.1657121181488037,
-0.2975201904773712,
0.45132920145988464,
0.27215972542762756,
1.059985876083374... |
func (s StandardEncoderPreset) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "codecs", s.Codecs)
populate(objectMap, "experimentalOptions", s.ExperimentalOptions)
populate(objectMap, "filters", s.Filters)
populate(objectMap, "formats", s.Formats)
objectMap["@odata.type"] = ... | [
-0.40894216299057007,
-0.42732855677604675,
0.25105127692222595,
-0.5836423635482788,
-0.6128771305084229,
-0.5183263421058655,
0.2638043761253357,
0.06592298299074173,
-0.14830529689788818,
0.9052131772041321,
-1.3514858484268188,
0.6994712352752686,
-0.8846883773803711,
-0.14422345161437... |
func (s *StandardEncoderPreset) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "codecs":
s.Codecs, err = ... | [
-0.8384919762611389,
0.17035430669784546,
0.9075292348861694,
-1.2749769687652588,
-0.7459573149681091,
-0.4134318232536316,
0.1120515763759613,
-0.150251567363739,
-0.5108587145805359,
0.7943407893180847,
-0.40917715430259705,
0.2985796332359314,
-0.675725519657135,
0.43940210342407227,
... |
func (s StorageAccount) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", s.ID)
populate(objectMap, "identity", s.Identity)
populate(objectMap, "status", s.Status)
populate(objectMap, "type", s.Type)
return json.Marshal(objectMap)
} | [
0.08872997760772705,
-1.1087000370025635,
0.12075953185558319,
0.7127826809883118,
0.4277989864349365,
-0.49758267402648926,
1.3412773609161377,
0.3017096221446991,
0.6100572347640991,
-0.22244325280189514,
-0.8782287836074829,
1.4530835151672363,
0.17464543879032135,
0.16374358534812927,
... |
func (s *StorageAccount) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulate(val, "ID",... | [
-0.17945462465286255,
-0.20024016499519348,
0.5657365918159485,
-0.3064955770969391,
0.03600625321269035,
-0.5997912883758545,
1.2926360368728638,
-0.1706181764602661,
0.18663375079631805,
0.3930940330028534,
-0.2444065809249878,
0.6217946410179138,
-0.006192701868712902,
0.368355333805084... |
func (s StorageEncryptedAssetDecryptionData) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "assetFileEncryptionMetadata", s.AssetFileEncryptionMetadata)
populateByteArray(objectMap, "key", s.Key, runtime.Base64StdFormat)
return json.Marshal(objectMap)
} | [
-0.6055058240890503,
-0.15489238500595093,
0.2944849729537964,
-0.33960092067718506,
0.08042266219854355,
-0.6798712611198425,
0.03928414732217789,
0.2807284891605377,
-0.42867547273635864,
0.6647017598152161,
-0.5365974307060242,
0.4744293689727783,
0.46763211488723755,
0.1388700157403946... |
func (s *StorageEncryptedAssetDecryptionData) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "assetFileEncry... | [
-0.791372537612915,
0.3713240325450897,
0.582801103591919,
-1.048789143562317,
-0.25983545184135437,
-0.42979440093040466,
0.20749180018901825,
-0.23302845656871796,
-0.7576326727867126,
0.6435834765434265,
-0.1044216901063919,
0.0943804532289505,
0.21935251355171204,
0.4194924235343933,
... |
func (s StreamingEndpoint) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", s.ID)
populate(objectMap, "location", s.Location)
populate(objectMap, "name", s.Name)
populate(objectMap, "properties", s.Properties)
populate(objectMap, "sku", s.SKU)
populate(objectMap, "syste... | [
-0.47948041558265686,
-0.28435611724853516,
0.37528684735298157,
-0.17433439195156097,
-0.4452095329761505,
-0.03492861986160278,
0.2645908296108246,
0.29240405559539795,
-0.5441610813140869,
0.955069899559021,
-1.1632345914840698,
0.9227973222732544,
-1.0237549543380737,
0.303989499807357... |
func (s *StreamingEndpoint) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulate(val, "I... | [
-0.5939453840255737,
0.0679110586643219,
0.7698713541030884,
-0.6229313015937805,
-0.7678602337837219,
0.0837191566824913,
0.2939762771129608,
-0.36086684465408325,
-0.8086392283439636,
1.0248221158981323,
-0.30408069491386414,
0.4231318235397339,
-0.7158344388008118,
0.4063318967819214,
... |
func (s StreamingEndpointAccessControl) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "akamai", s.Akamai)
populate(objectMap, "ip", s.IP)
return json.Marshal(objectMap)
} | [
0.02530008926987648,
-0.3483397364616394,
0.17152109742164612,
-0.5929728150367737,
-0.7756502032279968,
-0.2574216425418854,
1.1278741359710693,
-0.0023838963825255632,
0.259339839220047,
0.5443259477615356,
0.38528287410736084,
0.6272042989730835,
-0.3933264911174774,
-0.5978438258171082... |
func (s *StreamingEndpointAccessControl) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "akamai":
err = u... | [
-0.292370468378067,
0.3983129560947418,
0.6499190926551819,
-1.2090424299240112,
-1.1011799573898315,
-0.36061984300613403,
0.8492960929870605,
-0.6938580870628357,
-0.29554492235183716,
0.8379690647125244,
0.4970718026161194,
-0.09495686739683151,
-0.26356348395347595,
-0.3196398913860321... |
func (s StreamingEndpointListResult) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "@odata.count", s.ODataCount)
populate(objectMap, "@odata.nextLink", s.ODataNextLink)
populate(objectMap, "value", s.Value)
return json.Marshal(objectMap)
} | [
-0.9789286851882935,
0.1541845053434372,
0.1426277458667755,
-0.558800995349884,
-0.3899760842323303,
-0.30760425329208374,
0.009307196363806725,
0.14458762109279633,
-0.08787446469068527,
0.8179534077644348,
-1.3533203601837158,
0.3715004324913025,
-0.4780804216861725,
0.4806059002876282,... |
func (s *StreamingEndpointListResult) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "@odata.count":
err ... | [
-0.9886434078216553,
0.635223388671875,
0.3999669551849365,
-1.2588701248168945,
-0.9201821088790894,
-0.5162485241889954,
-0.005454514641314745,
-0.2639714181423187,
-0.5559988617897034,
1.0976053476333618,
-0.7542467713356018,
-0.36856651306152344,
-0.507856011390686,
0.560821533203125,
... |
func (s StreamingEndpointProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "accessControl", s.AccessControl)
populate(objectMap, "availabilitySetName", s.AvailabilitySetName)
populate(objectMap, "cdnEnabled", s.CdnEnabled)
populate(objectMap, "cdnProfile", s.CdnProfi... | [
-0.5325585603713989,
-0.6226850748062134,
0.4093654453754425,
-0.5819893479347229,
-0.4867172837257385,
0.21448223292827606,
0.5897142887115479,
0.15826007723808289,
-0.5149089097976685,
0.49811604619026184,
-0.40544870495796204,
0.8545106649398804,
-0.9124436974525452,
-0.2117183059453964... |
func (s *StreamingEndpointProperties) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "accessControl":
err... | [
-0.5075786709785461,
-0.32070398330688477,
0.5290396213531494,
-0.5094223022460938,
-0.7580690383911133,
0.25832515954971313,
0.6193175315856934,
-0.30478522181510925,
-0.5135171413421631,
0.6660380363464355,
-0.11089660972356796,
0.33754682540893555,
-0.5419386625289917,
0.306916564702987... |
func (s StreamingEndpointSKUInfoListResult) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "value", s.Value)
return json.Marshal(objectMap)
} | [
-0.8447821736335754,
0.36454975605010986,
0.1672625094652176,
0.057966217398643494,
-0.8466998338699341,
-0.34411635994911194,
-0.456011563539505,
0.07441772520542145,
0.031551554799079895,
0.7759488821029663,
-0.788578987121582,
-0.05098823457956314,
-0.6311215162277222,
0.621451139450073... |
func (s *StreamingEndpointSKUInfoListResult) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "value":
err ... | [
-0.8541061282157898,
0.9355817437171936,
0.38806456327438354,
-0.5695843696594238,
-1.1053897142410278,
-0.6438442468643188,
-0.27352628111839294,
-0.2139902263879776,
-0.5037974715232849,
0.9633979201316833,
-0.3579113185405731,
-0.5524828433990479,
-0.538155734539032,
0.6133949160575867,... |
func (s StreamingEntityScaleUnit) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "scaleUnit", s.ScaleUnit)
return json.Marshal(objectMap)
} | [
-1.0534392595291138,
-0.7389416694641113,
0.33363398909568787,
-1.3488057851791382,
0.0005066653247922659,
0.05740378797054291,
-0.8712882995605469,
-0.15187156200408936,
-0.24790461361408234,
0.38119813799858093,
-0.8974745869636536,
1.120718002319336,
-0.5122655034065247,
1.0264958143234... |
func (s *StreamingEntityScaleUnit) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "scaleUnit":
err = unpo... | [
-1.3498451709747314,
0.08481775224208832,
0.67960524559021,
-2.1405444145202637,
-0.37900614738464355,
-0.029795585200190544,
-0.5576402544975281,
-0.5697423219680786,
-0.9023575782775879,
0.6978864669799805,
-0.06826630234718323,
0.5504779815673828,
-0.7177203893661499,
1.122707486152649,... |
func (s StreamingLocator) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", s.ID)
populate(objectMap, "name", s.Name)
populate(objectMap, "properties", s.Properties)
populate(objectMap, "systemData", s.SystemData)
populate(objectMap, "type", s.Type)
return json.Marshal(o... | [
-0.798855185508728,
-0.8437321782112122,
0.37418413162231445,
-0.8272380232810974,
-1.2871129512786865,
0.09799934178590775,
0.8162158727645874,
0.1122598946094513,
0.07717936486005783,
0.27957093715667725,
-1.0284686088562012,
1.2060428857803345,
-0.08903063088655472,
0.9922176003456116,
... |
func (s *StreamingLocator) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulate(val, "ID... | [
-1.2143293619155884,
-0.012850954197347164,
0.6503726243972778,
-1.3192585706710815,
-1.5126323699951172,
0.05214319005608559,
0.7711970210075378,
-0.2416929006576538,
-0.5274577140808105,
0.42634010314941406,
-0.1722855567932129,
0.4830908179283142,
-0.19549989700317383,
0.963311254978179... |
func (s StreamingLocatorCollection) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "@odata.nextLink", s.ODataNextLink)
populate(objectMap, "value", s.Value)
return json.Marshal(objectMap)
} | [
-1.0926011800765991,
-0.28638967871665955,
0.22146332263946533,
-0.3276343047618866,
-0.5445942282676697,
0.04520115256309509,
0.5863378643989563,
0.3823530375957489,
0.09984391927719116,
0.12387605756521225,
-0.21568341553211212,
1.0246984958648682,
-0.16167990863323212,
1.192974925041198... |
func (s *StreamingLocatorCollection) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "@odata.nextLink":
er... | [
-1.2052170038223267,
0.10460817068815231,
0.5491764545440674,
-1.25519859790802,
-0.9916216135025024,
-0.04190162569284439,
0.5577456951141357,
0.01406796183437109,
-0.5474351048469543,
0.2869475185871124,
0.3296705186367035,
0.5443490743637085,
-0.2635537385940552,
1.2814383506774902,
0... |
func (s StreamingLocatorContentKey) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", s.ID)
populate(objectMap, "labelReferenceInStreamingPolicy", s.LabelReferenceInStreamingPolicy)
populate(objectMap, "policyName", s.PolicyName)
populate(objectMap, "tracks", s.Tracks)
po... | [
-0.6168520450592041,
-0.8312302827835083,
0.021349135786294937,
-1.2547638416290283,
-0.798754870891571,
0.1570906788110733,
0.8198819756507874,
0.09302090853452682,
-0.5965604186058044,
1.2292476892471313,
-0.38634970784187317,
0.8879621028900146,
-0.5539155006408691,
1.0239301919937134,
... |
func (s *StreamingLocatorContentKey) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulat... | [
-1.0065988302230835,
-0.24947704374790192,
0.5006446242332458,
-1.3535679578781128,
-1.0620399713516235,
0.019696108996868134,
0.7822074294090271,
-0.41375529766082764,
-0.9430232048034668,
1.1660510301589966,
0.09454040229320526,
0.21687017381191254,
-0.30925193428993225,
0.95934915542602... |
func (s StreamingLocatorProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "alternativeMediaId", s.AlternativeMediaID)
populate(objectMap, "assetName", s.AssetName)
populate(objectMap, "contentKeys", s.ContentKeys)
populateTimeRFC3339(objectMap, "created", s.Created)
... | [
-0.5053572058677673,
-1.0486774444580078,
0.1715937703847885,
-0.8831956386566162,
-1.0027083158493042,
0.10811508446931839,
0.683061957359314,
0.20669138431549072,
-0.3296095132827759,
0.566278874874115,
-0.4245119094848633,
0.8466776609420776,
-0.08348366618156433,
0.4165107011795044,
... |
func (s *StreamingLocatorProperties) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "alternativeMediaId":
... | [
-0.9192428588867188,
-0.5513119101524353,
0.5212469696998596,
-0.9490501880645752,
-1.3079384565353394,
-0.03253600746393204,
0.5707364082336426,
-0.33360686898231506,
-0.3783543109893799,
0.6239227056503296,
-0.08671342581510544,
0.28453826904296875,
0.03561166301369667,
0.638553082942962... |
func (s StreamingPath) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "encryptionScheme", s.EncryptionScheme)
populate(objectMap, "paths", s.Paths)
populate(objectMap, "streamingProtocol", s.StreamingProtocol)
return json.Marshal(objectMap)
} | [
-0.33305177092552185,
-0.10527113825082779,
0.18010759353637695,
0.2862406373023987,
-0.6895409822463989,
0.46128520369529724,
0.9842013120651245,
-0.1873256415128708,
0.036828238517045975,
0.9567786455154419,
-0.9139911532402039,
0.40573781728744507,
-0.9179195761680603,
0.556868910789489... |
func (s *StreamingPath) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "encryptionScheme":
err = unpopula... | [
-0.6624679565429688,
0.5297548174858093,
0.5507128238677979,
-0.7149591445922852,
-1.105953335762024,
0.4755886495113373,
0.7984659075737,
-0.7943517565727234,
-0.5478838682174683,
1.1667028665542603,
-0.5366485714912415,
0.06906213611364365,
-0.8253075480461121,
0.6785751581192017,
0.50... |
func (s StreamingPolicy) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", s.ID)
populate(objectMap, "name", s.Name)
populate(objectMap, "properties", s.Properties)
populate(objectMap, "systemData", s.SystemData)
populate(objectMap, "type", s.Type)
return json.Marshal(ob... | [
0.007093537598848343,
-0.48645830154418945,
0.004204900003969669,
-0.6859709620475769,
-0.15472106635570526,
0.5755431652069092,
-0.10011995583772659,
-0.0684734657406807,
0.20439249277114868,
0.6300998330116272,
-0.90110844373703,
1.2893909215927124,
-0.8147621154785156,
0.460231363773345... |
func (s *StreamingPolicy) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulate(val, "ID"... | [
-0.3431764841079712,
0.18942241370677948,
0.5068691372871399,
-1.5095714330673218,
-0.7628564238548279,
0.5166901350021362,
-0.01176481507718563,
-0.5357053875923157,
-0.5375165343284607,
0.8839463591575623,
-0.34676796197891235,
0.4641902446746826,
-0.6336395740509033,
0.5714579224586487,... |
func (s StreamingPolicyCollection) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "@odata.nextLink", s.ODataNextLink)
populate(objectMap, "value", s.Value)
return json.Marshal(objectMap)
} | [
-0.6116047501564026,
-0.19519981741905212,
0.14540281891822815,
-0.5030087828636169,
-0.4619259536266327,
0.7733466625213623,
-0.0687386617064476,
-0.08097779750823975,
-0.4390971064567566,
0.4300854802131653,
-0.5584716200828552,
1.0830978155136108,
-0.5709230899810791,
1.0432982444763184... |
func (s *StreamingPolicyCollection) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "@odata.nextLink":
err... | [
-0.7566019892692566,
0.1287163645029068,
0.5056365728378296,
-1.522281289100647,
-0.8663120865821838,
0.3920131027698517,
0.013419688679277897,
-0.42582178115844727,
-0.8351335525512695,
0.5288296341896057,
0.09110008925199509,
0.5274701118469238,
-0.48975586891174316,
1.1666526794433594,
... |
func (s StreamingPolicyContentKey) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "label", s.Label)
populate(objectMap, "policyName", s.PolicyName)
populate(objectMap, "tracks", s.Tracks)
return json.Marshal(objectMap)
} | [
-0.385689914226532,
-0.6175171732902527,
-0.0695619285106659,
-0.9792184233665466,
-0.3383276164531708,
0.5109010338783264,
-0.05539897456765175,
-0.2028971016407013,
-0.7197601795196533,
1.278856635093689,
-0.40540453791618347,
0.9127306938171387,
-1.2215490341186523,
0.696416437625885,
... |
func (s *StreamingPolicyContentKey) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "label":
err = unpopul... | [
-0.5857642292976379,
0.18071244657039642,
0.41932544112205505,
-1.5326777696609497,
-0.810911238193512,
0.2844617962837219,
0.0346028096973896,
-0.6453927159309387,
-1.2303802967071533,
1.5429543256759644,
-0.02137462981045246,
0.06967834383249283,
-0.873462438583374,
0.7357388138771057,
... |
func (s StreamingPolicyContentKeys) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "defaultKey", s.DefaultKey)
populate(objectMap, "keyToTrackMappings", s.KeyToTrackMappings)
return json.Marshal(objectMap)
} | [
-0.835310697555542,
-0.38423657417297363,
0.07724154740571976,
-0.9651605486869812,
-0.11949609965085983,
0.19650036096572876,
0.30519676208496094,
-0.14748515188694,
-0.813039243221283,
1.1644004583358765,
-0.8368554711341858,
0.6037316918373108,
-1.3693456649780273,
0.339169442653656,
... |
func (s *StreamingPolicyContentKeys) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "defaultKey":
err = u... | [
-0.8188377022743225,
0.30390775203704834,
0.33628904819488525,
-1.601348876953125,
-0.7885957956314087,
0.11342842876911163,
0.26524487137794495,
-0.4755135178565979,
-1.0103689432144165,
1.4451453685760498,
-0.35139092803001404,
-0.03229542821645737,
-1.1689794063568115,
0.432347476482391... |
func (s StreamingPolicyFairPlayConfiguration) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "allowPersistentLicense", s.AllowPersistentLicense)
populate(objectMap, "customLicenseAcquisitionUrlTemplate", s.CustomLicenseAcquisitionURLTemplate)
return json.Marshal(objectMap)
} | [
0.17820800840854645,
-0.16277626156806946,
0.23429186642169952,
-0.14724783599376678,
-0.3720424473285675,
-0.052744682878255844,
0.7707515954971313,
-0.3712743818759918,
0.23734994232654572,
0.05882487818598747,
-0.15272367000579834,
0.8689368367195129,
-0.29739847779273987,
0.88380116224... |
func (s *StreamingPolicyFairPlayConfiguration) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "allowPersiste... | [
-0.168365478515625,
0.2569366693496704,
0.433096319437027,
-0.7741761803627014,
-0.914795458316803,
-0.15832924842834473,
0.5951753854751587,
-0.4500454366207123,
-0.039708685129880905,
0.6873096823692322,
-0.11424943059682846,
0.3078247606754303,
-0.38204556703567505,
1.0440759658813477,
... |
func (s StreamingPolicyPlayReadyConfiguration) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "customLicenseAcquisitionUrlTemplate", s.CustomLicenseAcquisitionURLTemplate)
populate(objectMap, "playReadyCustomAttributes", s.PlayReadyCustomAttributes)
return json.Marshal(objectM... | [
-0.7714143395423889,
-0.7288623452186584,
0.21059557795524597,
-1.0295053720474243,
-0.9528834819793701,
0.033680446445941925,
1.26764976978302,
-0.2658582031726837,
0.5627285838127136,
0.6378448009490967,
-0.7184610962867737,
1.0825632810592651,
0.22282849252223969,
0.5488186478614807,
... |
func (s *StreamingPolicyPlayReadyConfiguration) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "customLicens... | [
-0.8796643614768982,
-0.10783986002206802,
0.4655281901359558,
-1.3875460624694824,
-1.3400431871414185,
-0.22999055683612823,
0.8390709161758423,
-0.447949081659317,
0.2356025129556656,
1.1457735300064087,
-0.525382936000824,
0.36813610792160034,
0.11397356539964676,
0.8550496101379395,
... |
func (s StreamingPolicyProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "commonEncryptionCbcs", s.CommonEncryptionCbcs)
populate(objectMap, "commonEncryptionCenc", s.CommonEncryptionCenc)
populateTimeRFC3339(objectMap, "created", s.Created)
populate(objectMap, "defa... | [
-0.1934049129486084,
-0.6376251578330994,
0.13249719142913818,
-0.38818037509918213,
-0.30656057596206665,
0.41257837414741516,
-0.019566264003515244,
-0.3825543224811554,
-0.29949751496315,
0.5854655504226685,
-0.8208855986595154,
0.7449847459793091,
-1.1126028299331665,
0.238467052578926... |
func (s *StreamingPolicyProperties) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "commonEncryptionCbcs":
... | [
-0.5501213073730469,
-0.26820290088653564,
0.40014326572418213,
-0.8351647853851318,
-0.6980034708976746,
0.2614716589450836,
0.06790115684270859,
-0.4985846281051636,
-0.28506556153297424,
0.802884578704834,
-0.2753846347332001,
0.35538139939308167,
-0.6939992308616638,
0.3585339784622192... |
func (s StreamingPolicyWidevineConfiguration) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "customLicenseAcquisitionUrlTemplate", s.CustomLicenseAcquisitionURLTemplate)
return json.Marshal(objectMap)
} | [
-0.47783416509628296,
-0.8399816751480103,
0.18903526663780212,
-0.7353997826576233,
-0.47080186009407043,
-0.5117535591125488,
0.3492816686630249,
0.6511332392692566,
0.7506429553031921,
0.8919485807418823,
-0.2637983560562134,
0.9799125790596008,
-0.907609760761261,
0.5326095223426819,
... |
func (s *StreamingPolicyWidevineConfiguration) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "customLicense... | [
-0.8915600180625916,
0.03531435877084732,
0.4269222319126129,
-1.1604338884353638,
-0.827848494052887,
-0.5695201754570007,
0.4266433119773865,
0.13303159177303314,
0.15384122729301453,
1.3746869564056396,
-0.2825395166873932,
0.377494752407074,
-0.6571097373962402,
0.9193615913391113,
-... |
func (s SyncStorageKeysInput) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", s.ID)
return json.Marshal(objectMap)
} | [
-0.4282073676586151,
-0.6371818780899048,
0.2527094781398773,
0.02480984479188919,
0.08948391675949097,
-0.4266134798526764,
0.4814632833003998,
-0.21487116813659668,
-0.005185600835829973,
0.46081987023353577,
-1.7549716234207153,
0.9336374402046204,
-0.0917525589466095,
0.280555874109268... |
func (s *SyncStorageKeysInput) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulate(val,... | [
-0.4835582673549652,
0.295206218957901,
0.6752389073371887,
-0.7165611386299133,
-0.29844510555267334,
-0.520491898059845,
0.6607009768486023,
-0.628083348274231,
-0.36527764797210693,
0.36294007301330566,
-0.8240820169448853,
0.10117581486701965,
-0.2000460922718048,
0.5719441175460815,
... |
func (s SystemData) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populateTimeRFC3339(objectMap, "createdAt", s.CreatedAt)
populate(objectMap, "createdBy", s.CreatedBy)
populate(objectMap, "createdByType", s.CreatedByType)
populateTimeRFC3339(objectMap, "lastModifiedAt", s.LastModifiedAt)
popu... | [
-0.49191343784332275,
-0.3379770815372467,
0.13278774917125702,
-0.108877032995224,
0.07258673012256622,
-0.09654830396175385,
0.5156740546226501,
-0.17912322282791138,
0.36761605739593506,
-0.3384206295013428,
-0.8849168419837952,
0.552189826965332,
-0.33875560760498047,
1.388051271438598... |
func (s *SystemData) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", s, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "createdAt":
err = unpopulateTimeRFC3... | [
-0.8221871852874756,
0.16771899163722992,
0.5831155776977539,
-0.9336085319519043,
-0.44084563851356506,
-0.3905540406703949,
0.6063255667686462,
-0.4381242096424103,
-0.30237358808517456,
0.10529666393995285,
-0.3926349878311157,
0.10867553949356079,
-0.33384352922439575,
1.38805866241455... |
func (t TextTrack) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "displayName", t.DisplayName)
populate(objectMap, "fileName", t.FileName)
populate(objectMap, "hlsSettings", t.HlsSettings)
populate(objectMap, "languageCode", t.LanguageCode)
objectMap["@odata.type"] = "#Micr... | [
-0.342980295419693,
-0.3230481743812561,
0.2574649751186371,
-1.3102537393569946,
-0.7933050990104675,
0.12762880325317383,
-0.20772042870521545,
0.4085721969604492,
-1.084670901298523,
0.6263908743858337,
-1.0831997394561768,
0.06239653751254082,
-0.5487596392631531,
1.1860860586166382,
... |
func (t *TextTrack) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", t, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "displayName":
err = unpopulate(val, "... | [
-0.5499280691146851,
0.3255445957183838,
0.6328075528144836,
-1.5577808618545532,
-0.9347240328788757,
-0.1662227362394333,
0.17905230820178986,
-0.5975595116615295,
-1.4145485162734985,
0.7442073822021484,
-0.3134966194629669,
-0.1103714108467102,
-0.38576367497444153,
1.1737309694290161,... |
func (t TrackBase) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
objectMap["@odata.type"] = t.ODataType
return json.Marshal(objectMap)
} | [
-1.0271434783935547,
-0.29586923122406006,
0.49605387449264526,
-0.3766458034515381,
0.29106414318084717,
0.39090433716773987,
0.010055728256702423,
-0.3452658951282501,
-0.590049147605896,
0.7117346525192261,
-1.170912504196167,
0.6065467596054077,
-0.06298316270112991,
0.6565608382225037... |
func (t *TrackBase) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", t, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "@odata.type":
err = unpopulate(val, "... | [
-1.0015747547149658,
0.4499844014644623,
0.8726339340209961,
-1.1768711805343628,
0.07085135579109192,
0.054550450295209885,
0.43939730525016785,
-0.5837635397911072,
-1.0623892545700073,
0.7561577558517456,
-0.5421186685562134,
-0.09677089750766754,
-0.4070560336112976,
0.80772465467453,
... |
func (t TrackDescriptor) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
objectMap["@odata.type"] = t.ODataType
return json.Marshal(objectMap)
} | [
-0.3712157607078552,
0.189153790473938,
0.507722795009613,
-0.6182377338409424,
-0.034296486526727676,
0.3965490162372589,
0.12079314142465591,
0.2805207073688507,
-0.3378334045410156,
0.42331990599632263,
-0.3283073604106903,
1.1254431009292603,
0.601555347442627,
1.1088321208953857,
0.... |
func (t *TrackDescriptor) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", t, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "@odata.type":
err = unpopulate(... | [
-0.41227537393569946,
0.7514426112174988,
0.7808221578598022,
-1.4715404510498047,
-0.5587136149406433,
0.07688691467046738,
0.29495587944984436,
-0.10684762895107269,
-1.0868068933486938,
0.6465739011764526,
0.19014114141464233,
0.5271665453910828,
0.3152919411659241,
1.0729024410247803,
... |
func (t TrackPropertyCondition) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "operation", t.Operation)
populate(objectMap, "property", t.Property)
populate(objectMap, "value", t.Value)
return json.Marshal(objectMap)
} | [
0.11751499027013779,
-1.0946635007858276,
0.33958348631858826,
0.18237993121147156,
-0.6368973851203918,
0.12029427289962769,
1.0899996757507324,
-0.35528266429901123,
-1.2948637008666992,
0.33138400316238403,
-0.30344080924987793,
0.1904037445783615,
0.6298586130142212,
-0.326954394578933... |
func (t *TrackPropertyCondition) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", t, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "operation":
err = unpopu... | [
0.044659439474344254,
-0.2898023724555969,
0.7540429830551147,
-0.6528494358062744,
-0.9328348636627197,
-0.25905483961105347,
0.9840734004974365,
-0.4571194648742676,
-1.6305502653121948,
0.5679787993431091,
0.15255902707576752,
-0.3745674788951874,
0.2511597275733948,
0.25858908891677856... |
func (t TrackSelection) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "trackSelections", t.TrackSelections)
return json.Marshal(objectMap)
} | [
-0.8366421461105347,
-0.325791597366333,
0.003307715058326721,
-0.1587923765182495,
0.17966943979263306,
-0.20442607998847961,
0.9265282154083252,
0.07863523066043854,
-0.15541264414787292,
0.6134498119354248,
-0.9656800031661987,
0.3407934010028839,
-0.07878938317298889,
0.002338627353310... |
func (t *TrackSelection) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", t, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "trackSelections":
err = unpopula... | [
-0.796419620513916,
0.43309319019317627,
0.3568824231624603,
-1.0856908559799194,
-0.28713691234588623,
-0.46575888991355896,
0.9536564350128174,
-0.34560489654541016,
-0.651841402053833,
0.7698883414268494,
-0.3521255552768707,
-0.04853980988264084,
-0.34432482719421387,
0.238979816436767... |
func (t TrackedResource) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", t.ID)
populate(objectMap, "location", t.Location)
populate(objectMap, "name", t.Name)
populate(objectMap, "tags", t.Tags)
populate(objectMap, "type", t.Type)
return json.Marshal(objectMap)
} | [
-0.4545387625694275,
-1.0166653394699097,
0.24686995148658752,
-0.63946533203125,
-0.12338133156299591,
-0.1726393699645996,
0.4908769428730011,
0.7075527906417847,
-0.47409629821777344,
0.169255331158638,
-1.5642274618148804,
0.0790863186120987,
0.4716055691242218,
0.43903231620788574,
... |
func (t *TrackedResource) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", t, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulate(val, "ID"... | [
-0.4378480911254883,
0.010221054777503014,
0.6274198293685913,
-1.2698432207107544,
-0.4774211645126343,
-0.20954367518424988,
0.8044464588165283,
0.035891640931367874,
-1.007867455482483,
0.31162285804748535,
-0.9169091582298279,
-0.3701045513153076,
0.09138492494821548,
0.623840153217315... |
func (t Transform) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", t.ID)
populate(objectMap, "name", t.Name)
populate(objectMap, "properties", t.Properties)
populate(objectMap, "systemData", t.SystemData)
populate(objectMap, "type", t.Type)
return json.Marshal(objectMa... | [
-0.9911119937896729,
-1.0084655284881592,
0.2329857498407364,
-0.7768463492393494,
0.2500568926334381,
-0.24022574722766876,
0.41564252972602844,
0.29338979721069336,
-0.11763102561235428,
0.022366927936673164,
-1.8271825313568115,
0.43701663613319397,
-0.05930279195308685,
0.4296038150787... |
func (t *Transform) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", t, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulate(val, "ID", &t.I... | [
-1.2241852283477783,
0.16438579559326172,
0.6314395666122437,
-1.2343900203704834,
-0.25769051909446716,
-0.42792409658432007,
0.42749062180519104,
-0.18535766005516052,
-0.6898291707038879,
0.2134522944688797,
-0.9650063514709473,
-0.2872638702392578,
-0.4241589307785034,
0.73706269264221... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.