-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Bug encoding mixed-format arrays #202
Copy link
Copy link
Closed
Stars1233/toon
#47Description
In the example below, why aren't b:1 and d:23 written to the output?
$ npm ls @toon-format/toon
@toon-format/[email protected] /private/tmp/toon
└── @toon-format/[email protected]
$ node
Welcome to Node.js v22.21.1.
Type ".help" for more information.
> const { encode } = require('@toon-format/toon')
> console.log(encode(['test', { a: 1, b: { c: 2 } }, [{ b: 1 }, { d: 23 }]]))
[3]:
- test
- a: 1
b:
c: 2
>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels