Clean up the codes of static array desirialization.
The codes of dynamic array still need revisions, because the current code is deserializing to an appender, not deserializing to the array.
size_t elementCount = 0;
while(true) {
// Add a default element to the array so we can deserialize into it
app ~= typeof(item[0]).init;
// Create a temporary array that includes this new element
auto tempArray = app.data;
policy.onArrayElement(tokenizer, tempArray, elementCount, context);
// Update our appender with the modified last element
app.data[elementCount] = tempArray[elementCount];
elementCount++;
//get the next token
}