Share feedback, ideas and get community help

Updated 5 months ago

Accessing keys inside keys in a JSON variable.

At a glance

The community member posted a sample JSON object and asked how to access the value of the j_key. The comments advise against storing JSON in a variable, as variables can only contain a string or a list of strings. The community members refer to an external resource that discusses the valid value types for variables.

Useful resources
sample JSON -
Plain Text
{
  "o_key": {
    "i_key": {
      "j_key": "hi"
    }
  }
}

I want to access the value of j_key and this JSON is saved in a variable. How do i access?
B
2 comments
We advise against storing JSON in a variable. Because variables can only contain a string or a list of strings
Add a reply
Sign up and join the conversation on Discord