(s)
| 26244 | return i |
| 26245 | } |
| 26246 | serialiseContent(s) { |
| 26247 | if (s instanceof this.namespace.elements.Element) return this.serialise(s) |
| 26248 | if (s instanceof this.namespace.KeyValuePair) { |
| 26249 | const o = { key: this.serialise(s.key) } |
| 26250 | return (s.value && (o.value = this.serialise(s.value)), o) |
| 26251 | } |
| 26252 | return s && s.map ? s.map(this.serialise, this) : s |
| 26253 | } |
| 26254 | deserialiseContent(s) { |
| 26255 | if (s) { |
| 26256 | if (s.element) return this.deserialise(s) |
no test coverage detected