List json key value pair

  • zefunha-1309635257007472729

    zefunha

    4 months ago

    Hi all,

    How do I list out the key value pair from a json object.

    At the moment am just listing the object only and not the key.

    Is there a way to list key in one div/list and the object in another
    1309658005331120210-rn_image_picker_lib_temp_62daf995-d0e9-46aa-8461-271e4656e772.jpg
  • tomthebigtree-1309658492763901962

    Tom Ireland

    4 months ago

    Are you looking to retrieve a value from a specific key? If so, you can use Get and pass in the key as the path, which will return the value.
  • zefunha-1309658946591785030

    zefunha

    4 months ago

    Yeah so am looking for an easy way to match the key and value and display them on the div/list
  • zefunha-1309660263372554290

    zefunha

    4 months ago

    Pulling from a third party api
  • lucasg-1309666686130982953

    Lucas G

    4 months ago

    What do you mean by match the key and value
  • Are you just trying to repeat over the API data?
  • zefunha-1309798294796374048

    zefunha

    4 months ago

    Yeah repeat all the of the api results but at the minute am just repeating the value not the key
  • tomthebigtree-1309810689040449546

    Tom Ireland

    4 months ago

    It sounds like you might need either From entries or Entries (can’t recall off the top of my head) if the data returned is not an array and is an object. That should then allow you to repeat of each key and then use the repeat item’s values as output as well.
    πŸ‘1
  • zefunha-1309842882437451778

    zefunha

    4 months ago

    I'll try this later
    πŸ‘1
  • tomthebigtree-1309844285109174282

    Tom Ireland

    4 months ago

    Let us know how you get on.
  • lucasg-1309858898773147738

    Lucas G

    4 months ago

    Can you show the repeat and what you are trying to accomplish
  • zefunha-1310277781749502146

    zefunha

    4 months ago

    1310277781237534740-rn_image_picker_lib_temp_f55d7eb9-26ca-4d35-8a19-6df6cabfa611.jpg
  • So I have a third party api and I want to list the key and value in the div on the dashboard

    @Tom Ireland the entries didn't seem to work
  • tomthebigtree-1310285646480539738

    Tom Ireland

    4 months ago

    βœ…1
  • zefunha-1310353765282611332

    zefunha

    4 months ago

    Thank you soo much
  • That worked,
    πŸ™Œ1
  • zefunha-1310354333422063677

    zefunha

    4 months ago

    Are you Scottish? Or ulster accent
  • I must start using tella, I think it would help with troubleshooting
  • tomthebigtree-1310360487745159291

    Tom Ireland

    4 months ago

    I'm Scottish, aye.
  • tomthebigtree-1310360603793162370

    Tom Ireland

    4 months ago

    Yeah, it's a great tool. Way better the Loom imo.

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code β€” but accessible to your entire team!

Try toddle β€” it's free!

Β© Copyright 2024 toddle. All rights reserved.