(e, recursive = false, singleAttributes = false)
| 135 | } |
| 136 | |
| 137 | asObject(e, recursive = false, singleAttributes = false) : any { |
| 138 | let obj = {}; |
| 139 | let attributes = this.asValues(e); |
| 140 | if(attributes) { |
| 141 | for(let attribute of attributes) { |
| 142 | obj[attribute] = this.asValues(e, attribute, undefined, undefined, recursive, singleAttributes); |
| 143 | } |
| 144 | } |
| 145 | return obj; |
| 146 | } |
| 147 | |
| 148 | toTriples(withNode?, startIndex?) { |
| 149 | let triples = []; |
no test coverage detected