Getting key/items from JSON data (API connection, VBA)

Hi there, I am trying to connect to the TSheets( API, and load all the job codes into a table . I can successfully connect and get the JSON, but I currently have to hard code the job code in order to get the info. I am stuck on how to get the codes via the keys/item in the dictionary.  In the example below, '5834988' is the job code, but I have to hard code it in. I just want to pull '5834988' via the dicationary.

Sample JSON:

 "results": {
  "jobcodes": {
   "5834988": {
    "id": 5834988,
    "parent_id": 0,
    "assigned_to_all": true,
    "billable": false,
    "active": true,
    "type": "regular",
    "has_children": false,
    "billable_rate": 0,
    "short_code": "",
    "name": "Job 1000"


Set p = JsonConverter.ParseJson(jsonStr)
    For Each key In p("results")("jobcodes").Keys
        Debug.Print p("results")("jobcodes")("5834988").item("id")
        Debug.Print p("results")("jobcodes")("5834988").item("parent_id")
        Debug.Print p("results")("jobcodes")("5834988").item("active")
        Debug.Print p("results")("jobcodes")("5834988").item("type")
        Debug.Print p("results")("jobcodes")("5834988").item("name")
    Next key
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

S_HamelAuthor Commented:
I figured it out :) The line below will get the me job code I need.

p(Key); Key

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.