shamblett / cbor

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

Conversion to JSON doesn't support integer map keys #1

Closed shamblett closed 7 years ago

shamblett commented 7 years ago

The decoder supports string or integer map keys, the toJSON method breaks if integer keys are used, either fix this or make clear what is supported, either way the text in the README needs updating to state what we are doing. as it is incorrect.

shamblett commented 7 years ago

README updated, the toJSON will remain as string only keys for now.