write parseArray structure