Skip to content

Support for non-string object keys in SAX handler (MsgPack compatibility) #134

Description

@mrabine

Description

Currently, the SAX API for parsing (JSON/MsgPack) only accepts string keys for objects, following JSON’s specification. However, MessagePack allows keys of any type (e.g., null, integer, double, boolean).
This issue proposes extending the SAX handler to support non-string keys for MsgPack, while ensuring the JSON parser rejects non-string keys (to remain spec-compliant).

Acceptance Criteria

  • SAX handler accepts keys of type: null, integer, double, boolean, string for MsgPack.
  • SAX handler rejects non-string keys for JSON.
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

    enhancementNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions