I have a Json string and something does not make any sense to me. Here is the problem:

I have a Json string with the following attributes in it:

[{"MiddleName":"der","LastName":"Emmerzaal"},{"LinkName":"en"},{"MiddleName":"van der","LastName":"Lukaart"}]

In my HTML code it will be printed like this:

{{#JsonVarforwardmailnames}}{{MiddleName}} {{LastName}} {{LinkName}} {{/JsonVarforwardmailnames}}

Now the MiddleName and the LastName are printed correctly but the LinkName isn't showing. I can't figure out why not. I have set my VAR's and set up the following dataobject:

{{.dataobject JsonVarforwardmailnames type=variable source=@forwardmailnames maxrows=20}} 

Hopefully someone will see the problem. THanks in advanced.


  • 1
    Is this question related to Salesforce Marketing Cloud? Tagging as such can help.
    – David Reed
    Jan 9, 2019 at 14:29
  • Yes sorry. I just edited.
    – Martijn e
    Jan 9, 2019 at 15:12
  • 1
    Link name appears to be in a separate object than your middle/lastnames. This is likely why it is appearing blank as the name/key value does not exist in the first object that you are viewing. Jan 9, 2019 at 15:33

1 Answer 1


Let's endent your GTL code so It becomes more easy to read


As you can see, It is expecting an object with three parameters : MiddleName, LastName and LinkName

The Json Object should look like this :

    "MiddleName": "der",
    "LastName": "Emmerzaal",
    "LinkName": "en"
  • Ahhhh so logical. I totaly didn;'t see that. Thanks a lot!
    – Martijn e
    Jan 9, 2019 at 16:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .