Hello,
I'm trying to add the key classificationLevels with a value of ["Sectors"] (yes, I need the quotes) to a dictionary
When I try
Body.Add "classificationLevels", "[""Sectors""]"
I actually add the following with the extra ""s.
["Sectors"]
I also tried
Body.Add "classifiactionLevels", "[" & chr(34) & "Sectors" & chr(34) & "]"
I still get the unwanted ""s.
This is part of a JSON web request. I can put the entire JSON web request string value in a cell and it will work. However, I will be changing the JSON string many times and my code would be much cleaner if I could create the JSON string as a dictionary.
How can I add ["Sectors"] without the extra ""s?
Thanks.
I'm trying to add the key classificationLevels with a value of ["Sectors"] (yes, I need the quotes) to a dictionary
When I try
Body.Add "classificationLevels", "[""Sectors""]"
I actually add the following with the extra ""s.
["Sectors"]
I also tried
Body.Add "classifiactionLevels", "[" & chr(34) & "Sectors" & chr(34) & "]"
I still get the unwanted ""s.
This is part of a JSON web request. I can put the entire JSON web request string value in a cell and it will work. However, I will be changing the JSON string many times and my code would be much cleaner if I could create the JSON string as a dictionary.
How can I add ["Sectors"] without the extra ""s?
Thanks.