@@ -1228,7 +1228,7 @@ export const de_EvaluateFeatureCommand = async (
12281228 } ) ;
12291229 const data : Record < string , any > = __expectNonNull ( __expectObject ( await parseBody ( output . body , context ) ) , "body" ) ;
12301230 const doc = take ( data , {
1231- details : ( _ ) => new __LazyJsonString ( _ ) ,
1231+ details : __LazyJsonString . from ,
12321232 reason : __expectString ,
12331233 value : ( _ ) => de_VariableValue ( __expectUnion ( _ ) , context ) ,
12341234 variation : __expectString ,
@@ -2217,7 +2217,7 @@ const de_DoubleValueList = (output: any, context: __SerdeContext): number[] => {
22172217 */
22182218const de_EvaluationResult = ( output : any , context : __SerdeContext ) : EvaluationResult => {
22192219 return take ( output , {
2220- details : ( _ : any ) => new __LazyJsonString ( _ ) ,
2220+ details : __LazyJsonString . from ,
22212221 entityId : __expectString ,
22222222 feature : __expectString ,
22232223 project : __expectString ,
@@ -2296,7 +2296,7 @@ const de_ExperimentList = (output: any, context: __SerdeContext): Experiment[] =
22962296 */
22972297const de_ExperimentReport = ( output : any , context : __SerdeContext ) : ExperimentReport => {
22982298 return take ( output , {
2299- content : ( _ : any ) => new __LazyJsonString ( _ ) ,
2299+ content : __LazyJsonString . from ,
23002300 metricName : __expectString ,
23012301 reportName : __expectString ,
23022302 treatmentName : __expectString ,
@@ -2459,7 +2459,7 @@ const de_LaunchExecution = (output: any, context: __SerdeContext): LaunchExecuti
24592459const de_MetricDefinition = ( output : any , context : __SerdeContext ) : MetricDefinition => {
24602460 return take ( output , {
24612461 entityIdKey : __expectString ,
2462- eventPattern : ( _ : any ) => new __LazyJsonString ( _ ) ,
2462+ eventPattern : __LazyJsonString . from ,
24632463 name : __expectString ,
24642464 unitLabel : __expectString ,
24652465 valueKey : __expectString ,
@@ -2623,7 +2623,7 @@ const de_Segment = (output: any, context: __SerdeContext): Segment => {
26232623 lastUpdatedTime : ( _ : any ) => __expectNonNull ( __parseEpochTimestamp ( __expectNumber ( _ ) ) ) ,
26242624 launchCount : __expectLong ,
26252625 name : __expectString ,
2626- pattern : ( _ : any ) => new __LazyJsonString ( _ ) ,
2626+ pattern : __LazyJsonString . from ,
26272627 tags : _json ,
26282628 } ) as any ;
26292629} ;
0 commit comments