text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (a ArmStreamingEndpointSKUInfo) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "capacity", a.Capacity)
populate(objectMap, "resourceType", a.ResourceType)
populate(objectMap, "sku", a.SKU)
return json.Marshal(objectMap)
} | [
-0.30918800830841064,
-0.13351717591285706,
0.16813428699970245,
-0.16046787798404694,
-0.7539788484573364,
-0.18612489104270935,
-0.22647202014923096,
0.2523239552974701,
-0.0003137263411190361,
0.19985394179821014,
-0.28222498297691345,
0.8709621429443359,
0.6133459210395813,
0.441198140... |
func (a *ArmStreamingEndpointSKUInfo) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "capacity":
err = un... | [
-0.631296694278717,
0.43935662508010864,
0.5002192258834839,
-0.8486539721488953,
-1.1095188856124878,
-0.26234549283981323,
-0.05438724532723427,
-0.08522500097751617,
-0.6165359616279602,
0.42905566096305847,
0.10848940163850784,
0.39376065135002136,
0.23593881726264954,
0.63390195369720... |
func (a Asset) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", a.ID)
populate(objectMap, "name", a.Name)
populate(objectMap, "properties", a.Properties)
populate(objectMap, "systemData", a.SystemData)
populate(objectMap, "type", a.Type)
return json.Marshal(objectMap)
} | [
-0.8024368286132812,
-1.5140902996063232,
0.1766924262046814,
-1.5155916213989258,
-0.47823914885520935,
-0.38106685876846313,
0.5340496897697449,
-0.11283878237009048,
0.2317032366991043,
0.08629889041185379,
-0.35628625750541687,
0.7828960418701172,
0.30240803956985474,
0.725679218769073... |
func (a *Asset) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulate(val, "ID", &a.ID)
... | [
-1.1705809831619263,
-0.5236315727233887,
0.6815409064292908,
-2.047342300415039,
-0.7749082446098328,
-0.3241170346736908,
0.5788687467575073,
-0.7144225239753723,
-0.7906540036201477,
0.5270516872406006,
0.34265491366386414,
0.2868146598339081,
-0.17858217656612396,
0.6867474913597107,
... |
func (a AssetCollection) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "@odata.nextLink", a.ODataNextLink)
populate(objectMap, "value", a.Value)
return json.Marshal(objectMap)
} | [
-0.8679350018501282,
-0.13775420188903809,
0.30497121810913086,
-0.9249565005302429,
-0.33602288365364075,
-0.25822341442108154,
0.6583117246627808,
0.07423266768455505,
-0.19037587940692902,
-0.3001724183559418,
0.018077373504638672,
1.1973365545272827,
0.2911631464958191,
0.5643836855888... |
func (a *AssetCollection) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "@odata.nextLink":
err = unpopul... | [
-0.9852581024169922,
0.11492567509412766,
0.7233944535255432,
-1.6604417562484741,
-0.7752575278282166,
-0.40158411860466003,
0.7230277061462402,
-0.40872249007225037,
-0.7327396869659424,
0.07946861535310745,
0.307107150554657,
0.6507008075714111,
0.04079053923487663,
0.9436296224594116,
... |
func (a AssetContainerSas) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "assetContainerSasUrls", a.AssetContainerSasUrls)
return json.Marshal(objectMap)
} | [
-0.6504896283149719,
-0.9519637227058411,
0.17737668752670288,
-1.441331386566162,
-0.2650950849056244,
-1.1104322671890259,
0.19672542810440063,
-0.48799124360084534,
1.0131444931030273,
-0.2535989582538605,
0.1291923075914383,
0.4383547008037567,
1.4755771160125732,
1.1263989210128784,
... |
func (a *AssetContainerSas) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "assetContainerSasUrls":
err =... | [
-0.6344847083091736,
-0.25920429825782776,
0.5654172301292419,
-1.8568246364593506,
-0.6743417978286743,
-1.0935744047164917,
0.14992980659008026,
-0.9835286736488342,
0.5296297073364258,
0.21829068660736084,
0.638313353061676,
0.026574084535241127,
1.1300172805786133,
1.4069414138793945,
... |
func (a AssetFileEncryptionMetadata) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "assetFileId", a.AssetFileID)
populate(objectMap, "assetFileName", a.AssetFileName)
populate(objectMap, "initializationVector", a.InitializationVector)
return json.Marshal(objectMap)
} | [
-0.4689527451992035,
-0.43907105922698975,
0.12321492284536362,
-0.9934205412864685,
0.30971455574035645,
-0.08816645294427872,
0.15373316407203674,
-0.32454293966293335,
-1.281794548034668,
1.1510893106460571,
-0.5999222993850708,
0.5570473074913025,
0.21261143684387207,
-0.14923250675201... |
func (a *AssetFileEncryptionMetadata) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "assetFileId":
err =... | [
-0.6313167810440063,
0.11207441985607147,
0.5242302417755127,
-1.579110860824585,
-0.2475777417421341,
-0.35204842686653137,
0.1711810976266861,
-0.8250911831855774,
-1.645023226737976,
1.1937355995178223,
-0.32181769609451294,
0.03954657167196274,
0.30043458938598633,
0.23166850209236145,... |
func (a AssetFilter) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", a.ID)
populate(objectMap, "name", a.Name)
populate(objectMap, "properties", a.Properties)
populate(objectMap, "systemData", a.SystemData)
populate(objectMap, "type", a.Type)
return json.Marshal(object... | [
-0.7481493353843689,
-0.7288087606430054,
0.038974329829216,
-1.1355340480804443,
-0.4034667909145355,
-0.8342164754867554,
0.17933467030525208,
0.05441387742757797,
-0.2958734631538391,
0.3188605308532715,
-0.7902612686157227,
1.2849823236465454,
0.14671048521995544,
0.6204268336296082,
... |
func (a *AssetFilter) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulate(val, "ID", &a... | [
-0.8996290564537048,
0.04060414433479309,
0.5855758190155029,
-1.6112440824508667,
-0.7534888386726379,
-0.6803598403930664,
0.22430598735809326,
-0.6636438965797424,
-1.049952745437622,
0.40189462900161743,
-0.0371139757335186,
0.6435266137123108,
-0.2007315754890442,
0.8712909817695618,
... |
func (a AssetFilterCollection) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "@odata.nextLink", a.ODataNextLink)
populate(objectMap, "value", a.Value)
return json.Marshal(objectMap)
} | [
-0.870158851146698,
0.05301123112440109,
0.21187834441661835,
-0.8208335638046265,
-0.0940743088722229,
-0.6688281893730164,
0.32381221652030945,
-0.32763880491256714,
-0.26657992601394653,
-0.06295284628868103,
-0.14455294609069824,
1.1660689115524292,
0.21828821301460266,
0.5085673332214... |
func (a *AssetFilterCollection) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "@odata.nextLink":
err = u... | [
-1.093795657157898,
0.3740555942058563,
0.6352958083152771,
-1.5914427042007446,
-0.614959716796875,
-0.7497647404670715,
0.39637723565101624,
-0.7309436202049255,
-0.8531053066253662,
0.18737272918224335,
0.19764742255210876,
0.7040833830833435,
0.02416347712278366,
0.9031192064285278,
... |
func (a AssetProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "alternateId", a.AlternateID)
populate(objectMap, "assetId", a.AssetID)
populate(objectMap, "container", a.Container)
populateTimeRFC3339(objectMap, "created", a.Created)
populate(objectMap, "description... | [
-0.6572235822677612,
-1.143597960472107,
0.09982781112194061,
-1.3148661851882935,
0.05559055507183075,
-0.41650575399398804,
0.5380546450614929,
-0.3904774487018585,
-0.3009379506111145,
0.5095990896224976,
-0.25571954250335693,
0.5587874054908752,
0.019496779888868332,
0.3016470372676849... |
func (a *AssetProperties) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "alternateId":
err = unpopulate(... | [
-0.7817548513412476,
-0.7846696972846985,
0.6327502727508545,
-1.2371878623962402,
-0.33777642250061035,
-0.3957482874393463,
0.607079029083252,
-0.7768331170082092,
-0.5185887813568115,
0.5475108027458191,
0.22479930520057678,
0.2421679049730301,
-0.0431881844997406,
0.2946988046169281,
... |
func (a AssetStreamingLocator) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "assetName", a.AssetName)
populateTimeRFC3339(objectMap, "created", a.Created)
populate(objectMap, "defaultContentKeyPolicyName", a.DefaultContentKeyPolicyName)
populateTimeRFC3339(objectMap, "endTi... | [
-0.6731153130531311,
-0.5914515852928162,
0.30955058336257935,
-1.525262713432312,
-1.1964616775512695,
-0.10999371111392975,
0.9321948885917664,
-0.31935355067253113,
0.10494748502969742,
0.38544759154319763,
-0.6658998727798462,
0.4397719204425812,
0.1044950783252716,
0.8717708587646484,... |
func (a *AssetStreamingLocator) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "assetName":
err = unpopul... | [
-0.8403036594390869,
-0.11556875705718994,
0.6812707185745239,
-1.4545949697494507,
-1.41499924659729,
-0.15069009363651276,
0.8768644332885742,
-0.6577746868133545,
-0.5264216661453247,
0.6242700219154358,
0.06562360376119614,
0.20475968718528748,
0.024238133803009987,
1.0056209564208984,... |
func (a AssetTrack) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", a.ID)
populate(objectMap, "name", a.Name)
populate(objectMap, "properties", a.Properties)
populate(objectMap, "type", a.Type)
return json.Marshal(objectMap)
} | [
-0.5661126971244812,
-0.6828300952911377,
0.43554019927978516,
-1.0530339479446411,
-0.2430785745382309,
-0.27268508076667786,
0.12876591086387634,
-0.205302432179451,
-0.37151744961738586,
0.12343092262744904,
-0.7252292037010193,
0.5146839022636414,
0.4778466820716858,
0.4064969420433044... |
func (a *AssetTrack) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulate(val, "ID", &a.... | [
-0.659329891204834,
0.16192547976970673,
0.7486741542816162,
-1.6926684379577637,
-0.6669431328773499,
-0.2573280930519104,
0.21222414076328278,
-0.9245753884315491,
-1.3296186923980713,
0.46328839659690857,
-0.09715833514928818,
0.16366063058376312,
0.03566134348511696,
0.6255946159362793... |
func (a AssetTrackCollection) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "value", a.Value)
return json.Marshal(objectMap)
} | [
-0.5753914713859558,
-0.17703069746494293,
0.4395093619823456,
-0.3350273668766022,
0.08688049763441086,
-0.10823646932840347,
0.6124316453933716,
-0.02708476036787033,
-0.6234806180000305,
0.330304890871048,
-0.38003310561180115,
0.24231812357902527,
0.39877477288246155,
0.485359936952590... |
func (a *AssetTrackCollection) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "value":
err = unpopulate(v... | [
-0.6818962693214417,
0.3477865159511566,
0.8145245313644409,
-1.2039657831192017,
-0.4115596413612366,
-0.13927972316741943,
0.5231310725212097,
-0.5524887442588806,
-1.1492865085601807,
0.5930061340332031,
-0.024546939879655838,
0.06835892796516418,
0.11599373072385788,
0.788814902305603,... |
func (a AssetTrackOperationStatus) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populateTimeRFC3339(objectMap, "endTime", a.EndTime)
populate(objectMap, "error", a.Error)
populate(objectMap, "id", a.ID)
populate(objectMap, "name", a.Name)
populateTimeRFC3339(objectMap, "startTime", a.StartTim... | [
-0.4384700357913971,
0.16915291547775269,
0.42392686009407043,
-1.1956652402877808,
-0.23520179092884064,
-0.44372838735580444,
0.4857831299304962,
-0.062559574842453,
-0.31670933961868286,
0.9305753111839294,
-0.741034984588623,
-0.6765475869178772,
0.9289340972900391,
-0.1631238162517547... |
func (a *AssetTrackOperationStatus) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "endTime":
err = unpop... | [
-0.6471331715583801,
0.3842352628707886,
0.6759065389633179,
-1.5541951656341553,
-0.6050857305526733,
-0.538821816444397,
0.3716287314891815,
-0.40412914752960205,
-0.8143266439437866,
0.947604238986969,
-0.1581108421087265,
-0.8342010974884033,
0.43133002519607544,
0.21628926694393158,
... |
func (a AssetTrackProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "provisioningState", a.ProvisioningState)
populate(objectMap, "track", a.Track)
return json.Marshal(objectMap)
} | [
-0.569814920425415,
-0.4763900339603424,
0.3274743854999542,
-0.8108985424041748,
-0.11285548657178879,
0.14438298344612122,
-0.02915353700518608,
0.06485310941934586,
-0.7982465028762817,
0.7657727003097534,
-0.3880617916584015,
0.2500219941139221,
0.5643796324729919,
-0.33860257267951965... |
func (a *AssetTrackProperties) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "provisioningState":
err = ... | [
-0.71141517162323,
0.04950369521975517,
0.5723757147789001,
-1.098907232284546,
-0.5355356931686401,
-0.12370222806930542,
0.10588143020868301,
-0.3555300831794739,
-1.2909210920333862,
0.7853586077690125,
0.08201995491981506,
0.03437180444598198,
0.3080190420150757,
-0.03439021483063698,
... |
func (a AsyncOperationResult) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "error", a.Error)
populate(objectMap, "name", a.Name)
populate(objectMap, "status", a.Status)
return json.Marshal(objectMap)
} | [
-0.7972238063812256,
-0.4462052285671234,
0.042816758155822754,
-0.5709336996078491,
-0.6209008693695068,
-0.9737799167633057,
0.2427229881286621,
0.0939800888299942,
0.4907448887825012,
1.1042908430099487,
-0.32001155614852905,
0.07749538868665695,
-0.14341743290424347,
-0.046255584806203... |
func (a *AsyncOperationResult) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "error":
err = unpopulate(v... | [
-0.8094605803489685,
0.4282463490962982,
0.19857428967952728,
-1.2312945127487183,
-0.744049072265625,
-1.1786235570907593,
0.44886139035224915,
-0.3683617413043976,
-0.29516926407814026,
1.407078742980957,
-0.11306601017713547,
-0.497213751077652,
-0.2534153461456299,
0.46446359157562256,... |
func (a Audio) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "bitrate", a.Bitrate)
populate(objectMap, "channels", a.Channels)
populate(objectMap, "label", a.Label)
objectMap["@odata.type"] = "#Microsoft.Media.Audio"
populate(objectMap, "samplingRate", a.SamplingRate)
retu... | [
-0.3865213692188263,
-1.130569338798523,
0.37695425748825073,
-0.7524113059043884,
-0.5101455450057983,
-0.4714125394821167,
0.32430869340896606,
-0.002556363819167018,
0.9454571008682251,
0.4700062870979309,
-0.3951170742511749,
0.6714915633201599,
0.04054635018110275,
1.0970319509506226,... |
func (a *Audio) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "bitrate":
err = unpopulate(val, "Bitrate"... | [
-0.6848485469818115,
-0.4032765030860901,
0.8263409733772278,
-1.4386786222457886,
-0.776748538017273,
-0.5507937669754028,
0.46007633209228516,
-0.8456994891166687,
0.18113724887371063,
0.8095773458480835,
0.30221766233444214,
0.4720417559146881,
-0.11451200395822525,
1.3727785348892212,
... |
func (a AudioAnalyzerPreset) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "audioLanguage", a.AudioLanguage)
populate(objectMap, "experimentalOptions", a.ExperimentalOptions)
populate(objectMap, "mode", a.Mode)
objectMap["@odata.type"] = "#Microsoft.Media.AudioAnalyzerPreset... | [
-0.5232201814651489,
-0.4408832788467407,
0.22446976602077484,
-1.109406590461731,
-0.4231957197189331,
-0.4350224733352661,
0.400726318359375,
-0.4375612735748291,
0.3111620247364044,
0.2224147617816925,
-0.15218473970890045,
0.14163246750831604,
0.16690999269485474,
0.009212959557771683,... |
func (a *AudioAnalyzerPreset) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "audioLanguage":
err = unpop... | [
-0.7985458970069885,
0.19845280051231384,
0.7930842041969299,
-1.566968560218811,
-0.718791127204895,
-0.6731539368629456,
0.27018114924430847,
-0.8622690439224243,
-0.49370312690734863,
0.4628383219242096,
0.3546331226825714,
-0.16850154101848602,
0.09287145733833313,
0.5704140663146973,
... |
func (a AudioOverlay) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "audioGainLevel", a.AudioGainLevel)
populate(objectMap, "end", a.End)
populate(objectMap, "fadeInDuration", a.FadeInDuration)
populate(objectMap, "fadeOutDuration", a.FadeOutDuration)
populate(objectMap, "i... | [
-0.5293533802032471,
-0.5727881193161011,
0.39383450150489807,
-1.049057960510254,
-1.0804109573364258,
-0.623728334903717,
0.6794485449790955,
-0.2434108704328537,
0.7994717359542847,
0.06634823977947235,
-0.8194353580474854,
-0.126641646027565,
-0.06053793057799339,
0.5640439987182617,
... |
func (a *AudioOverlay) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "audioGainLevel":
err = unpopulate(... | [
-0.828830361366272,
-0.03423196077346802,
0.8250837326049805,
-1.2102259397506714,
-1.089553952217102,
-0.5205510258674622,
0.39390993118286133,
-0.8481598496437073,
-0.13090479373931885,
0.39397257566452026,
-0.04961501434445381,
-0.018147315829992294,
-0.2015109807252884,
0.9493805766105... |
func (a AudioTrack) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "bitRate", a.BitRate)
populate(objectMap, "dashSettings", a.DashSettings)
populate(objectMap, "displayName", a.DisplayName)
populate(objectMap, "fileName", a.FileName)
populate(objectMap, "hlsSettings", a.Hls... | [
0.01356797106564045,
-0.5914430022239685,
0.5151339769363403,
-0.8009619116783142,
-0.590933620929718,
-0.7303522825241089,
0.10409972816705704,
-0.19465240836143494,
-0.23241198062896729,
-0.31523922085762024,
-0.25074175000190735,
0.3618059754371643,
0.10612820833921432,
0.68452823162078... |
func (a *AudioTrack) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "bitRate":
err = unpopulate(val, "Bit... | [
-0.2847786247730255,
0.0648360475897789,
0.9062510132789612,
-1.2108898162841797,
-0.8465789556503296,
-0.6550235152244568,
0.6230370402336121,
-1.1205905675888062,
-0.939862847328186,
0.12100698053836823,
0.13306117057800293,
0.3465750217437744,
-0.0969797894358635,
0.9827882051467896,
... |
func (a AudioTrackDescriptor) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "channelMapping", a.ChannelMapping)
objectMap["@odata.type"] = "#Microsoft.Media.AudioTrackDescriptor"
return json.Marshal(objectMap)
} | [
0.3316190838813782,
-0.16266924142837524,
0.5689884424209595,
-1.342102289199829,
-0.4027304947376251,
-0.38109275698661804,
0.024106310680508614,
-0.08564253151416779,
0.10109096765518188,
-0.04535730555653572,
0.2528391480445862,
0.3521963655948639,
0.5516467690467834,
0.68318110704422,
... |
func (a *AudioTrackDescriptor) 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", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "channelMapping":
err = unp... | [
-0.18752510845661163,
0.5411779284477234,
0.9139655232429504,
-1.87082040309906,
-0.9354449510574341,
-0.5965957045555115,
0.11775349825620651,
-0.4859336316585541,
-0.8217561841011047,
0.39389699697494507,
0.7539405822753906,
0.3009258210659027,
0.4507662355899811,
0.7834935784339905,
1... |
func (b BuiltInStandardEncoderPreset) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "configurations", b.Configurations)
objectMap["@odata.type"] = "#Microsoft.Media.BuiltInStandardEncoderPreset"
populate(objectMap, "presetName", b.PresetName)
return json.Marshal(objectMap)
} | [
-0.6788628101348877,
-0.07060016691684723,
0.19623729586601257,
-0.665878415107727,
-0.3544793128967285,
-0.18701796233654022,
0.1758585274219513,
0.15559963881969452,
-0.47479742765426636,
0.6459475755691528,
-1.222979187965393,
0.8860659003257751,
-0.7515854835510254,
-0.5947631597518921... |
func (b *BuiltInStandardEncoderPreset) 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", b, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "configurations":
e... | [
-0.8746767044067383,
0.4480699896812439,
0.836696207523346,
-1.4017361402511597,
-0.7399078011512756,
-0.3064592778682709,
0.02683369256556034,
-0.15051715075969696,
-0.5943194031715393,
0.5453198552131653,
-0.5685072541236877,
0.4199187755584717,
-0.7597214579582214,
-0.10677769035100937,... |
func (c CbcsDrmConfiguration) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "fairPlay", c.FairPlay)
populate(objectMap, "playReady", c.PlayReady)
populate(objectMap, "widevine", c.Widevine)
return json.Marshal(objectMap)
} | [
-0.6152216196060181,
0.14875422418117523,
0.17090652883052826,
-0.670743465423584,
-0.07009416073560715,
-0.931206226348877,
0.6536861658096313,
0.4446563422679901,
0.42951300740242004,
-0.2400663197040558,
-0.8377155065536499,
-0.30102258920669556,
-0.48406800627708435,
0.8384090662002563... |
func (c *CbcsDrmConfiguration) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "fairPlay":
err = unpopulat... | [
-0.8676449060440063,
0.49893736839294434,
0.5116368532180786,
-1.2287707328796387,
-0.3205372989177704,
-0.9949043989181519,
0.48251110315322876,
0.14915524423122406,
0.05309680849313736,
0.3435031473636627,
-0.4740522503852844,
-0.49792736768722534,
-0.6888460516929626,
0.7635551691055298... |
func (c CencDrmConfiguration) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "playReady", c.PlayReady)
populate(objectMap, "widevine", c.Widevine)
return json.Marshal(objectMap)
} | [
-1.3122400045394897,
-0.3249224126338959,
0.22900253534317017,
-0.5806345343589783,
0.07131679356098175,
-0.939599871635437,
0.8692167401313782,
0.16137516498565674,
0.05877641215920448,
0.3042302131652832,
-0.6339429020881653,
-0.38730400800704956,
-0.10078634321689606,
0.7158913612365723... |
func (c *CencDrmConfiguration) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "playReady":
err = unpopula... | [
-1.4050968885421753,
0.2751913368701935,
0.5891138315200806,
-1.0760509967803955,
-0.33386528491973877,
-0.9817530512809753,
0.8866927027702332,
-0.07636997103691101,
-0.16519524157047272,
0.7277770638465881,
-0.22109414637088776,
-0.6870265603065491,
-0.1917455941438675,
0.736273050308227... |
func (c CheckNameAvailabilityInput) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "name", c.Name)
populate(objectMap, "type", c.Type)
return json.Marshal(objectMap)
} | [
-0.6635221838951111,
-1.100408673286438,
0.11730360984802246,
-0.5424394607543945,
-0.26226767897605896,
0.44355645775794983,
0.2027917057275772,
0.2357148379087448,
0.20936380326747894,
1.443786859512329,
-0.7768806219100952,
0.8279846906661987,
-0.9836227893829346,
0.8966272473335266,
... |
func (c *CheckNameAvailabilityInput) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "name":
err = unpopul... | [
-0.7831728458404541,
-0.05451352149248123,
0.5694065093994141,
-1.1316227912902832,
-0.5669432282447815,
0.1311882585287094,
0.3296959400177002,
-0.06115342676639557,
-0.22433865070343018,
1.311316728591919,
-0.043833401054143906,
0.46034371852874756,
-0.7528711557388306,
0.982197582721710... |
func (c ClearKeyEncryptionConfiguration) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "customKeysAcquisitionUrlTemplate", c.CustomKeysAcquisitionURLTemplate)
return json.Marshal(objectMap)
} | [
-0.6825540661811829,
0.14057178795337677,
0.13541148602962494,
-0.30013808608055115,
-1.2175287008285522,
-0.5178390741348267,
-0.5057977437973022,
0.4236384332180023,
0.854020893573761,
1.5859463214874268,
-0.8663535118103027,
0.009596206247806549,
0.22383061051368713,
0.2345828413963318,... |
func (c *ClearKeyEncryptionConfiguration) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "customKeysAcquisit... | [
-1.2009583711624146,
0.7143999338150024,
0.4762813150882721,
-0.905357301235199,
-1.2873190641403198,
-0.7024166584014893,
-0.13855718076229095,
-0.20894412696361542,
0.2843346893787384,
1.726015329360962,
-0.5647276639938354,
-0.24938082695007324,
0.15460288524627686,
1.0251131057739258,
... |
func (c ClipTime) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
objectMap["@odata.type"] = c.ODataType
return json.Marshal(objectMap)
} | [
-1.2595210075378418,
-0.3859648108482361,
0.3039715886116028,
-0.5991054773330688,
-0.7016938924789429,
0.08946409076452255,
-0.20245778560638428,
-0.18349982798099518,
0.6544574499130249,
1.1085963249206543,
-0.7702940702438354,
0.5712152719497681,
0.8575408458709717,
1.44442880153656,
... |
func (c *ClipTime) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "@odata.type":
err = unpopulate(val, "O... | [
-1.2403640747070312,
0.4028085172176361,
0.7704490423202515,
-1.4350961446762085,
-1.005520224571228,
0.09451218694448471,
0.3787232041358948,
-0.5407624244689941,
-0.032988619059324265,
1.0699578523635864,
-0.23866698145866394,
-0.022447941824793816,
0.3578115701675415,
1.5827248096466064... |
func (c Codec) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "label", c.Label)
objectMap["@odata.type"] = c.ODataType
return json.Marshal(objectMap)
} | [
-0.7584559917449951,
-0.7145494222640991,
0.3620319366455078,
-0.828258216381073,
0.13142149150371552,
0.3138291537761688,
0.23278862237930298,
0.23818260431289673,
0.5123611688613892,
-0.18319766223430634,
-0.8095069527626038,
1.5106208324432373,
0.10953135788440704,
1.0016402006149292,
... |
func (c *Codec) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "label":
err = unpopulate(val, "Label", &c... | [
-0.9045014977455139,
0.12710873782634735,
0.7276313900947571,
-1.564500331878662,
-0.384017676115036,
-0.24847212433815002,
0.7566214203834534,
-0.030737431719899178,
-0.18774618208408356,
-0.06719299405813217,
-0.2609192430973053,
0.7704145908355713,
-0.062073931097984314,
1.2297756671905... |
func (c CommonEncryptionCbcs) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "clearKeyEncryptionConfiguration", c.ClearKeyEncryptionConfiguration)
populate(objectMap, "clearTracks", c.ClearTracks)
populate(objectMap, "contentKeys", c.ContentKeys)
populate(objectMap, "drm", c.... | [
-0.4920283257961273,
0.19223813712596893,
0.6439762115478516,
-0.6084253191947937,
0.3673499524593353,
-0.17974159121513367,
0.5251685976982117,
-0.8550254106521606,
0.14490516483783722,
0.9023949503898621,
-1.0776625871658325,
-0.20288348197937012,
-1.139885425567627,
0.7686766982078552,
... |
func (c *CommonEncryptionCbcs) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "clearKeyEncryptionConfigurati... | [
-0.5671945214271545,
0.5340890288352966,
0.8948063254356384,
-1.081210970878601,
-0.08944264054298401,
-0.2862730622291565,
0.6690610647201538,
-1.2191635370254517,
-0.38532763719558716,
0.8995979428291321,
-0.5302683711051941,
-0.27479884028434753,
-0.9140663146972656,
0.8423871994018555,... |
func (c CommonEncryptionCenc) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "clearKeyEncryptionConfiguration", c.ClearKeyEncryptionConfiguration)
populate(objectMap, "clearTracks", c.ClearTracks)
populate(objectMap, "contentKeys", c.ContentKeys)
populate(objectMap, "drm", c.... | [
-0.45961156487464905,
-0.058204181492328644,
0.5814226865768433,
-0.25517523288726807,
-0.09023161232471466,
-0.1372241973876953,
1.164886713027954,
-0.18529705703258514,
-0.2461823970079422,
1.078070878982544,
-0.7429253458976746,
-0.069341741502285,
-0.064550019800663,
0.7224717140197754... |
func (c *CommonEncryptionCenc) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "clearKeyEncryptionConfigurati... | [
-0.31321442127227783,
0.22323760390281677,
0.9260594844818115,
-0.930084764957428,
-0.34384408593177795,
-0.35272863507270813,
1.0961992740631104,
-0.4473247230052948,
-0.6946182250976562,
1.14003586769104,
-0.20300762355327606,
-0.2704067528247833,
0.0752878487110138,
0.7788335084915161,
... |
func (c ContentKeyPolicy) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "id", c.ID)
populate(objectMap, "name", c.Name)
populate(objectMap, "properties", c.Properties)
populate(objectMap, "systemData", c.SystemData)
populate(objectMap, "type", c.Type)
return json.Marshal(o... | [
0.011960762552917004,
-0.8497922420501709,
-0.2180938422679901,
-0.9788193106651306,
0.11395584046840668,
0.3339861333370209,
-0.0028742270078510046,
-0.008826032280921936,
-0.08301618695259094,
0.23452918231487274,
-0.7314075827598572,
0.8965492248535156,
-1.362730860710144,
0.59851831197... |
func (c *ContentKeyPolicy) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "id":
err = unpopulate(val, "ID... | [
-0.4464733898639679,
-0.1267680674791336,
0.44085076451301575,
-1.602494478225708,
-0.5457002520561218,
0.15380199253559113,
0.0855231061577797,
-0.37970584630966187,
-0.7323988676071167,
0.5655950903892517,
-0.11411254107952118,
0.12075287103652954,
-1.0951282978057861,
0.5912141799926758... |
func (c ContentKeyPolicyClearKeyConfiguration) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
objectMap["@odata.type"] = "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
return json.Marshal(objectMap)
} | [
0.11398784816265106,
-0.4504459500312805,
0.01254828181117773,
-0.678975522518158,
-0.29955220222473145,
-0.026929104700684547,
-0.5328399538993835,
-0.11203240603208542,
-0.012135157361626625,
1.2818397283554077,
-0.556510865688324,
0.40489038825035095,
-0.7368428111076355,
0.894470572471... |
func (c *ContentKeyPolicyClearKeyConfiguration) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "@odata.type"... | [
-0.47685670852661133,
0.30858784914016724,
0.5182865262031555,
-1.2728984355926514,
-0.4106960892677307,
-0.34927719831466675,
-0.11064480990171432,
-0.49595701694488525,
-0.293789803981781,
1.321914792060852,
-0.24103575944900513,
0.024723533540964127,
-0.5728034973144531,
0.9768880605697... |
func (c ContentKeyPolicyCollection) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "@odata.nextLink", c.ODataNextLink)
populate(objectMap, "value", c.Value)
return json.Marshal(objectMap)
} | [
-0.4458509385585785,
-0.7450711727142334,
-0.030906682834029198,
-0.6080212593078613,
-0.273798406124115,
0.5136322975158691,
-0.20317257940769196,
0.21074278652668,
-0.3043050169944763,
0.19986441731452942,
-0.45765864849090576,
0.5082421898841858,
-1.0461229085922241,
0.871692955493927,
... |
func (c *ContentKeyPolicyCollection) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "@odata.nextLink":
er... | [
-0.7184250354766846,
-0.14183883368968964,
0.49635469913482666,
-1.4989851713180542,
-0.7785214781761169,
0.09581812471151352,
-0.01107968669384718,
-0.18752312660217285,
-0.7758359313011169,
0.41112884879112244,
0.1331377625465393,
0.20374928414821625,
-0.8861300945281982,
1.0356928110122... |
func (c ContentKeyPolicyConfiguration) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
objectMap["@odata.type"] = c.ODataType
return json.Marshal(objectMap)
} | [
-0.5071273446083069,
-0.627984881401062,
-0.09126785397529602,
-0.8503679037094116,
-0.35150641202926636,
0.18839430809020996,
-0.2204340696334839,
0.047391414642333984,
0.052899450063705444,
0.5576533079147339,
-0.6496478915214539,
0.25091928243637085,
-0.9210973381996155,
0.9030045866966... |
func (c *ContentKeyPolicyConfiguration) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "@odata.type":
err... | [
-0.8487324714660645,
0.19701933860778809,
0.3905602693557739,
-1.439924716949463,
-0.6503576636314392,
-0.23341737687587738,
0.16219553351402283,
-0.32756730914115906,
-0.5210979580879211,
1.0502045154571533,
-0.2867685854434967,
-0.2935725152492523,
-0.6830745339393616,
0.8464658856391907... |
func (c ContentKeyPolicyFairPlayConfiguration) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populateByteArray(objectMap, "ask", c.Ask, runtime.Base64StdFormat)
populate(objectMap, "fairPlayPfx", c.FairPlayPfx)
populate(objectMap, "fairPlayPfxPassword", c.FairPlayPfxPassword)
objectMap["@odata.... | [
-0.1214635893702507,
-0.41296663880348206,
0.1692143976688385,
-0.18722298741340637,
-0.47506949305534363,
-0.3285357356071472,
0.7127949595451355,
-0.46226629614830017,
0.15918827056884766,
0.08651354908943176,
-0.5988320112228394,
0.4534670412540436,
-0.9107162356376648,
0.63030409812927... |
func (c *ContentKeyPolicyFairPlayConfiguration) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "ask":
err... | [
-0.5163075923919678,
-0.0800057053565979,
0.5841429233551025,
-0.6068139672279358,
-0.7663248777389526,
-0.42015165090560913,
0.5807496309280396,
-0.6955718994140625,
-0.3289680480957031,
0.5015503168106079,
-0.15122120082378387,
0.03339603170752525,
-0.8041525483131409,
0.9281295537948608... |
func (c ContentKeyPolicyFairPlayOfflineRentalConfiguration) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "playbackDurationSeconds", c.PlaybackDurationSeconds)
populate(objectMap, "storageDurationSeconds", c.StorageDurationSeconds)
return json.Marshal(objectMap)
} | [
0.13645407557487488,
-0.1866314858198166,
0.22085446119308472,
-0.5822482705116272,
-0.6236732602119446,
0.05804387107491493,
0.5722273588180542,
-0.46028363704681396,
-0.4400903582572937,
0.30048561096191406,
-0.09956974536180496,
0.24153512716293335,
-0.4999852478504181,
0.99525153636932... |
func (c *ContentKeyPolicyFairPlayOfflineRentalConfiguration) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case ... | [
-0.10840849578380585,
0.4090120494365692,
0.5123953819274902,
-0.9984470009803772,
-0.9439897537231445,
-0.14567971229553223,
0.5469966530799866,
-0.5817068815231323,
-0.6507381200790405,
0.8160375952720642,
0.06398016214370728,
-0.13872545957565308,
-0.5044376850128174,
0.9851081371307373... |
func (c ContentKeyPolicyOpenRestriction) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
objectMap["@odata.type"] = "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
return json.Marshal(objectMap)
} | [
-0.791252076625824,
-0.19728007912635803,
0.1439213752746582,
-0.7036154270172119,
-0.9669222235679626,
-0.6522709727287292,
0.662264883518219,
0.13645006716251373,
0.1924491673707962,
0.24730536341667175,
-0.3128379285335541,
0.6997666358947754,
-1.3352975845336914,
-0.7020000219345093,
... |
func (c *ContentKeyPolicyOpenRestriction) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "@odata.type":
e... | [
-1.0112978219985962,
0.5971168875694275,
0.7693952322006226,
-1.3651944398880005,
-0.80709308385849,
-0.7437950968742371,
0.6211350560188293,
-0.1442439705133438,
-0.40104353427886963,
0.6513778567314148,
0.08778657019138336,
0.2616749703884125,
-0.9127833843231201,
-0.44851815700531006,
... |
func (c ContentKeyPolicyOption) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "configuration", c.Configuration)
populate(objectMap, "name", c.Name)
populate(objectMap, "policyOptionId", c.PolicyOptionID)
populate(objectMap, "restriction", c.Restriction)
return json.Marshal(... | [
0.3701325058937073,
-0.7956852316856384,
-0.0832958072423935,
-0.31266048550605774,
-0.1698712408542633,
0.061733439564704895,
0.2545919716358185,
-0.02460693009197712,
-0.004951102659106255,
0.9535297751426697,
-0.810520350933075,
-0.0903763547539711,
-0.9188661575317383,
0.13257640600204... |
func (c *ContentKeyPolicyOption) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "configuration":
c.Config... | [
-0.10764207690954208,
-0.22008609771728516,
0.6336244940757751,
-0.9652842283248901,
-0.5643414258956909,
0.13484953343868256,
0.1680230349302292,
-0.4254143536090851,
-0.13911372423171997,
0.8648487329483032,
-0.23934052884578705,
-0.5665759444236755,
-0.8779071569442749,
0.60701239109039... |
func (c ContentKeyPolicyPlayReadyConfiguration) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "licenses", c.Licenses)
objectMap["@odata.type"] = "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration"
populate(objectMap, "responseCustomData", c.ResponseCustomData)
return j... | [
-0.34572041034698486,
-0.7705540657043457,
0.04513457417488098,
-0.8682855367660522,
-1.045074224472046,
0.03752398490905762,
1.0973758697509766,
0.05589774623513222,
0.3793460726737976,
0.7211877107620239,
-1.0321271419525146,
0.4222409725189209,
-0.2402472048997879,
0.5701459050178528,
... |
func (c *ContentKeyPolicyPlayReadyConfiguration) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "licenses":
... | [
-0.6099547147750854,
-0.19401757419109344,
0.4765569567680359,
-1.5266011953353882,
-1.340188980102539,
-0.25468868017196655,
0.8269553184509277,
-0.26655104756355286,
0.012199332937598228,
1.081447958946228,
-0.3975507318973541,
0.13244618475437164,
-0.16136780381202698,
0.750132441520690... |
func (c ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
objectMap["@odata.type"] = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"
return json.Marshal(objectMap)
} | [
0.18518251180648804,
-0.8456398844718933,
0.0893639400601387,
-0.13938778638839722,
-0.854910671710968,
0.417584627866745,
1.0697795152664185,
-0.3063404858112335,
-0.3448525667190552,
1.2176915407180786,
-0.7742792963981628,
0.6410179138183594,
-0.3391634523868561,
0.13698364794254303,
... |
func (c *ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
... | [
-0.15371105074882507,
-0.2919968068599701,
0.4380436837673187,
-0.9589176774024963,
-1.1810507774353027,
0.07341441512107849,
0.9226306080818176,
-0.5803166031837463,
-0.3670552670955658,
1.4014471769332886,
-0.2475547194480896,
0.3435012102127075,
-0.24059540033340454,
0.7510260343551636,... |
func (c ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "keyId", c.KeyID)
objectMap["@odata.type"] = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier"
return json.Marshal(objectMap)
... | [
0.18881665170192719,
-0.8558803200721741,
0.011905976571142673,
-0.1864311546087265,
-0.8059231638908386,
0.6565897464752197,
1.3566826581954956,
0.0036110205110162497,
0.24051395058631897,
1.1860407590866089,
-0.9378639459609985,
0.6983545422554016,
0.02265162020921707,
0.2380136251449585... |
func (c *ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch k... | [
-0.3105390965938568,
-0.37694263458251953,
0.27694371342658997,
-0.934913158416748,
-1.1296931505203247,
0.09306668490171432,
1.1124868392944336,
-0.3841210603713989,
0.0818471908569336,
1.4315412044525146,
-0.4591391384601593,
0.5390208959579468,
-0.021986544132232666,
0.8697882890701294,... |
func (c ContentKeyPolicyPlayReadyContentKeyLocation) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
objectMap["@odata.type"] = c.ODataType
return json.Marshal(objectMap)
} | [
-0.7335143685340881,
-0.947021484375,
0.10432232916355133,
-1.2492018938064575,
-0.5777196884155273,
0.2182643860578537,
1.40818190574646,
-0.041259218007326126,
0.2865031361579895,
0.9119682312011719,
-0.7507224082946777,
0.9287589192390442,
-0.10487321019172668,
0.37421008944511414,
0.... |
func (c *ContentKeyPolicyPlayReadyContentKeyLocation) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "@odata... | [
-0.7943015098571777,
-0.38779711723327637,
0.5192453265190125,
-1.7388378381729126,
-1.104619026184082,
-0.11847713589668274,
1.4452425241470337,
-0.21373476088047028,
0.058100588619709015,
1.2028095722198486,
-0.15670472383499146,
0.22943969070911407,
-0.04709440469741821,
0.5786851644515... |
func (c ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "bestEffort", c.BestEffort)
populate(objectMap, "configurationData", c.ConfigurationData)
return json.Marshal(objectMap)
} | [
-0.1272192895412445,
0.5504247546195984,
0.1181902289390564,
-1.2645189762115479,
-1.2135798931121826,
0.12884528934955597,
0.11153477430343628,
0.2466910034418106,
0.2940978407859802,
1.0203216075897217,
-0.5694349408149719,
1.3259518146514893,
0.08493077009916306,
0.16709846258163452,
... |
func (c *ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key... | [
-0.20590999722480774,
0.8869023323059082,
0.5012640357017517,
-1.6601932048797607,
-1.4062148332595825,
-0.25419992208480835,
0.14705269038677216,
0.10561023652553558,
-0.05435095727443695,
1.540533423423767,
-0.20516888797283173,
0.7933349013328552,
0.2103671133518219,
0.32207223773002625... |
func (c ContentKeyPolicyPlayReadyLicense) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "allowTestDevices", c.AllowTestDevices)
populateTimeRFC3339(objectMap, "beginDate", c.BeginDate)
populate(objectMap, "contentKeyLocation", c.ContentKeyLocation)
populate(objectMap, "conte... | [
0.34555310010910034,
-0.7700305581092834,
0.3006965219974518,
-1.1700077056884766,
-0.8662912249565125,
-0.10511956363916397,
0.9959401488304138,
0.38762062788009644,
0.28993964195251465,
0.7083869576454163,
-0.6110673546791077,
0.8938682079315186,
-0.6624902486801147,
0.30414697527885437,... |
func (c *ContentKeyPolicyPlayReadyLicense) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "allowTestDevices"... | [
0.11086423695087433,
-0.4929940402507782,
0.6598488688468933,
-1.0597035884857178,
-0.9916679263114929,
-0.4352125823497772,
0.7119761109352112,
-0.1496153473854065,
0.29693275690078735,
0.7589446902275085,
-0.19325070083141327,
0.6835351586341858,
-0.5566408038139343,
0.7923571467399597,
... |
func (c ContentKeyPolicyPlayReadyPlayRight) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "agcAndColorStripeRestriction", c.AgcAndColorStripeRestriction)
populate(objectMap, "allowPassingVideoContentToUnknownOutput", c.AllowPassingVideoContentToUnknownOutput)
populate(objectM... | [
0.16043241322040558,
-0.6330393552780151,
0.541649341583252,
-0.5750578045845032,
-0.8973085880279541,
-0.17571783065795898,
0.6773774027824402,
-0.3366377353668213,
0.35070332884788513,
0.5022815465927124,
-0.284651517868042,
0.7383823394775391,
-0.5019833445549011,
0.7938225865364075,
... |
func (c *ContentKeyPolicyPlayReadyPlayRight) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "agcAndColorStri... | [
-0.11923711001873016,
-0.21325162053108215,
0.6559736132621765,
-0.3984612226486206,
-1.0212405920028687,
0.06263689696788788,
0.5159609317779541,
-0.6593518257141113,
0.13780692219734192,
0.7156307101249695,
0.15320762991905212,
0.3081468641757965,
-0.6525115966796875,
1.1873775720596313,... |
func (c ContentKeyPolicyProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populateTimeRFC3339(objectMap, "created", c.Created)
populate(objectMap, "description", c.Description)
populateTimeRFC3339(objectMap, "lastModified", c.LastModified)
populate(objectMap, "options", c.Options)
popu... | [
-0.004585531074553728,
-1.2342227697372437,
-0.2007196545600891,
-0.8337591290473938,
-0.08411020040512085,
0.30282703042030334,
-0.2428051084280014,
0.29553359746932983,
-0.05758621543645859,
0.3704850673675537,
-0.5147331357002258,
0.2865467071533203,
-1.2823054790496826,
0.2210372090339... |
func (c *ContentKeyPolicyProperties) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "created":
err = unpo... | [
-0.39682304859161377,
-0.7001149654388428,
0.3032500445842743,
-1.4738291501998901,
-0.5681435465812683,
0.000929900212213397,
-0.23346370458602905,
-0.10855584591627121,
-0.37984025478363037,
0.6142051219940186,
0.18816331028938293,
-0.025687573477625847,
-0.8719370365142822,
0.2855947911... |
func (c ContentKeyPolicyRestriction) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
objectMap["@odata.type"] = c.ODataType
return json.Marshal(objectMap)
} | [
-0.3810953199863434,
-0.1527346968650818,
0.11033826321363449,
-0.7539035081863403,
-0.34042128920555115,
-0.04327860474586487,
-0.10923998802900314,
-0.2926703989505768,
-0.020747365429997444,
0.5751699209213257,
-0.32413628697395325,
0.8709244728088379,
-1.3202353715896606,
-0.1463303714... |
func (c *ContentKeyPolicyRestriction) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "@odata.type":
err =... | [
-0.5787051916122437,
0.5701746344566345,
0.6277626752853394,
-1.2959377765655518,
-0.5717674493789673,
-0.5397437214851379,
0.16155652701854706,
-0.6031261682510376,
-0.6311884522438049,
1.0218883752822876,
0.01497831754386425,
0.30694183707237244,
-0.8788734674453735,
-0.136908620595932,
... |
func (c ContentKeyPolicyRestrictionTokenKey) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
objectMap["@odata.type"] = c.ODataType
return json.Marshal(objectMap)
} | [
-0.1141316145658493,
-0.034476861357688904,
-0.057523179799318314,
-0.8095671534538269,
-0.28118595480918884,
-0.15545505285263062,
-0.39780062437057495,
-0.6248572468757629,
-0.2066272497177124,
0.6211827993392944,
-0.34557732939720154,
0.8860963582992554,
-1.187634825706482,
0.1792026609... |
func (c *ContentKeyPolicyRestrictionTokenKey) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "@odata.type":
... | [
-0.39172354340553284,
0.7071896195411682,
0.4676707983016968,
-1.1687496900558472,
-0.6362712383270264,
-0.4630870819091797,
-0.13153447210788727,
-0.6377536058425903,
-0.6470412611961365,
1.0501943826675415,
0.014051049947738647,
0.44049903750419617,
-0.7275568246841431,
0.402074813842773... |
func (c ContentKeyPolicyRsaTokenKey) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populateByteArray(objectMap, "exponent", c.Exponent, runtime.Base64StdFormat)
populateByteArray(objectMap, "modulus", c.Modulus, runtime.Base64StdFormat)
objectMap["@odata.type"] = "#Microsoft.Media.ContentKeyPoli... | [
-0.03430129215121269,
-0.5601716041564941,
-0.2890816926956177,
-1.2477439641952515,
0.24592658877372742,
-0.24535788595676422,
-0.3167153000831604,
-0.19665835797786713,
-0.3568902909755707,
0.48818498849868774,
-0.6257686018943787,
0.8637795448303223,
-0.15459094941616058,
1.032359004020... |
func (c *ContentKeyPolicyRsaTokenKey) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "exponent":
err = ru... | [
-0.2008691281080246,
-0.19483137130737305,
0.26520299911499023,
-1.4361419677734375,
-0.16032427549362183,
-0.38232165575027466,
-0.23970367014408112,
-0.562322199344635,
-0.6970175504684448,
0.6347247958183289,
-0.1084076538681984,
0.5811524391174316,
0.025657271966338158,
0.9644246101379... |
func (c ContentKeyPolicySymmetricTokenKey) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populateByteArray(objectMap, "keyValue", c.KeyValue, runtime.Base64StdFormat)
objectMap["@odata.type"] = "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey"
return json.Marshal(objectMap)
} | [
-0.14863093197345734,
-0.47499924898147583,
-0.14743152260780334,
-0.5209867358207703,
0.08231319487094879,
-0.2751605808734894,
-0.05049312859773636,
-0.11252793669700623,
-0.6231723427772522,
0.49415645003318787,
-0.8775425553321838,
0.8189029097557068,
-0.6848849058151245,
0.85695642232... |
func (c *ContentKeyPolicySymmetricTokenKey) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "keyValue":
er... | [
-0.41884246468544006,
0.07349635660648346,
0.4100276231765747,
-1.0857155323028564,
-0.26382356882095337,
-0.6502915620803833,
0.020488455891609192,
-0.4871024489402771,
-0.9645179510116577,
0.8916340470314026,
-0.39317548274993896,
0.4960183799266815,
-0.373031884431839,
0.986078262329101... |
func (c ContentKeyPolicyTokenClaim) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "claimType", c.ClaimType)
populate(objectMap, "claimValue", c.ClaimValue)
return json.Marshal(objectMap)
} | [
0.804350733757019,
-0.7971519231796265,
-0.04350346699357033,
-0.5439109206199646,
-0.513184130191803,
-0.17262114584445953,
-1.051627278327942,
0.2180252969264984,
-0.38994652032852173,
-0.07105830311775208,
-0.11686655879020691,
0.9366185069084167,
-0.28995463252067566,
0.522602498531341... |
func (c *ContentKeyPolicyTokenClaim) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "claimType":
err = un... | [
0.38673102855682373,
-0.1741117537021637,
0.5020950436592102,
-1.0930229425430298,
-1.003356695175171,
-0.23251385986804962,
-0.8013811111450195,
-0.2005988359451294,
-0.4998410940170288,
0.3520233929157257,
0.09144247323274612,
0.5875561833381653,
-0.06999538093805313,
0.6065784692764282,... |
func (c ContentKeyPolicyTokenRestriction) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "alternateVerificationKeys", c.AlternateVerificationKeys)
populate(objectMap, "audience", c.Audience)
populate(objectMap, "issuer", c.Issuer)
objectMap["@odata.type"] = "#Microsoft.Media.... | [
0.023098507896065712,
-0.3010455369949341,
-0.11079224199056625,
-1.0939847230911255,
-0.8191400766372681,
-0.19652189314365387,
-0.26158761978149414,
-0.10704467445611954,
-0.0515022873878479,
0.28378716111183167,
-0.7187711596488953,
0.7306250333786011,
-0.99454665184021,
-0.023699386045... |
func (c *ContentKeyPolicyTokenRestriction) 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", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "alternateVerifica... | [
-0.3982711136341095,
-0.09347056597471237,
0.5304837226867676,
-1.0228586196899414,
-0.7028732895851135,
-0.23337306082248688,
0.0418630987405777,
-0.6173100471496582,
-0.37300747632980347,
0.5015162229537964,
-0.28459906578063965,
0.41779857873916626,
-0.8653439283370972,
0.37804737687110... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.