Array returns an array encoder. By default, the members of array are wrapped with ` ` element tag. If value is marked as flattened, the start element is used to wrap the members instead of the ` ` element.
()
| 231 | // If value is marked as flattened, the start element is used to wrap the members instead of |
| 232 | // the `<member>` element. |
| 233 | func (xv Value) Array() *Array { |
| 234 | return newArray(xv.w, xv.scratch, arrayMemberWrapper, xv.startElement, xv.isFlattened) |
| 235 | } |
| 236 | |
| 237 | /* |
| 238 | ArrayWithCustomName returns an array encoder. |