This repository was archived by the owner on Oct 13, 2018. It is now read-only.

Description
I was taking a look at the underlying c++ to try to debug what was happening to my serialized proto when I had a repeated field. Essentially, I expected a repeated field to be parsed as an array of values. Instead, I was finding that my repeated fields got casted as an object-like value, like below:
{
"r": {
0: "foo",
1: "bar",
2: "baz"
}
}
Is this the expected functionality? Doing it this way requires a manual iteration over the object so I can convert it to an Array to be handled.
I see this functionality was created with this PR: #64
I think TypedArray support is a good thing to have, but it seems to disrupt how this should be parsed in JavaScript. I'd like to know your thoughts, though.
Thank you,