| 131 | }, |
| 132 | |
| 133 | fromJSON(object: any): ScannerDataElement { |
| 134 | return { |
| 135 | rank: isSet(object.rank) ? globalThis.Number(object.rank) : undefined, |
| 136 | contract: isSet(object.contract) ? Contract.fromJSON(object.contract) : undefined, |
| 137 | marketName: isSet(object.marketName) ? globalThis.String(object.marketName) : undefined, |
| 138 | distance: isSet(object.distance) ? globalThis.String(object.distance) : undefined, |
| 139 | benchmark: isSet(object.benchmark) ? globalThis.String(object.benchmark) : undefined, |
| 140 | projection: isSet(object.projection) ? globalThis.String(object.projection) : undefined, |
| 141 | comboKey: isSet(object.comboKey) ? globalThis.String(object.comboKey) : undefined, |
| 142 | }; |
| 143 | }, |
| 144 | |
| 145 | toJSON(message: ScannerDataElement): unknown { |
| 146 | const obj: any = {}; |