* Convert struct to JSON * @this {!StructNested} * @returns {!object} Struct value for JSON
()
| 11153 | * @returns {!object} Struct value for JSON |
| 11154 | */ |
| 11155 | toJSON () { |
| 11156 | let parent = super.toJSON() |
| 11157 | let current = { |
| 11158 | f1000: ((this.f1000 != null) ? this.f1000 : null), |
| 11159 | f1001: ((this.f1001 != null) ? this.f1001 : null), |
| 11160 | f1002: ((this.f1002 != null) ? this.f1002 : null), |
| 11161 | f1003: ((this.f1003 != null) ? this.f1003 : null), |
| 11162 | f1004: ((this.f1004 != null) ? this.f1004 : null), |
| 11163 | f1005: ((this.f1005 != null) ? this.f1005 : null), |
| 11164 | f1006: ((this.f1006 != null) ? this.f1006 : null), |
| 11165 | f1007: ((this.f1007 != null) ? this.f1007 : null), |
| 11166 | f1008: ((this.f1008 != null) ? this.f1008 : null), |
| 11167 | f1009: ((this.f1009 != null) ? this.f1009 : null), |
| 11168 | f1010: ((this.f1010 != null) ? this.f1010 : null), |
| 11169 | f1011: ((this.f1011 != null) ? this.f1011 : null) |
| 11170 | } |
| 11171 | return { ...parent, ...current } |
| 11172 | } |
| 11173 | |
| 11174 | /** |
| 11175 | * Convert JSON to struct |