🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Specify nested key in get key > in map

    UIFlow
    1
    1
    2.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • greenleafG
      greenleaf
      last edited by

      I have some JSON that contains data nested several layers deep. What should I be putting in the 'get key' field? I tried text but it ended up being wrapped in quotes. This is the key I want to specify:

      weather_json['properties']['periods'][0]['temperature']
      

      When I go into the source code and delete the quotes it works fine.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post