shamblett / cbor

A CBOR implementation for Dart
MIT License
36 stars 16 forks source link

Fix nesting maps in arrays #11

Closed DanielSoCra closed 4 years ago

DanielSoCra commented 4 years ago

Resolves #9

We have to handle incomplete maps and arrays differently.

When the entry is an incomplete array, we just push the item. If the entry is a incomplete map, we have to add the item to it and push it to the stack.