Processing JSON with special characters in property names

In my project I’m dealing with some JSON data however I met some property names containing special characters, i.e. the following JSON

{

              "Full Name":"Arnab Singh",

              "Person.id":A11B65

}

I’m unable to use the "Get Value From Json By Name" step to extract such values. Could you please help?

Comments

  • The library we use to select values from JSON uses the `.` character to access properties of complex properties.Person.id would actually access the id property of the following JSON.

    {

      "FullName": "Arnab Singh",

      "Person": {

        "id": A11B65

      }

    }

    In order to access the Person.id property of the JSON provided, please we need to use ['Person.id']

Sign In or Register to comment.