Skip to content

Confusion About Integer String Keys #7

Description

@kylebrandt

I've read the following multiple times and I still don't get it.

"""
For simplicity, integer keys (ie, {"0": "zero"}) are inaccessible by jsonq as integer strings are assumed to be array indexes.
"""

How can I access the string "Foo" in the following JSON response with jsonq?

{
  "534" : {
    "aliases" : {
      "Foo" : { }
    }
  }
}

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