Kai K.

  • 1 question asked
  • 3 answers
  • 0 best answers (0%)
  • How to work with JSON objects within conditions

    How would I use a JSON object within an if…then…else condition? In my case I'm iterating across a JSON object, which has four object elements. The loop runs four times as...
    Kai K.
    Kai K.

    Kai K.

    Level
    0
    39 / 100
    points
    Kai K.
    Kai K.

    Kai K.

    Level
    0
    39 / 100
    points
    Hi Fousseyni, thanks for your reply. I could also extract contractId and contractIsMine from the JSON object to two separate variables. This for example would give my foo=[21...