Skip to content

Nil in tables is not taken into account #5

Description

@niecore

Whenever you use the value nil in a table, this value is not encoded correctly:

input = {1, nil}
b = msgpack.pack(input)

0x91 0x01

Expected:

0x92 0x01 0xC0

Any ideas how to add nil handling arrays?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions