Skip to content

Non-standard JSON Pointer # syntax and indexes with leading zeros #86

Closed

Description

@jg-rp

As mentioned in #84, when using our non-standard "current key" syntax, we are failing to check for leading zeros when resolving array indexes.

RFC 6901 defines array-index as

array-index = %x30 / ( %x31-39 *(%x30-39) )
              ; "0", or digits without a leading "0"

Our # syntax should follow the same rules regarding indexes and leading zeros.

Activity

  1. added
    bug
    on Aug 3, 2025
  2. linked a pull request that will close this issueRefactor `JSONPointer` and improve docs #92on Aug 4, 2025
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions