Closed karolblond closed 9 months ago
used this simple macro from your examples: ...
Set Json = JsonConverter.ParseJson("{""a"":123,""b"":[1,2,3,4],""c"":{""d"":456}}")
There is no such code in my examples
However, while executing the macro I am getting the "Invalid use of New keyword" error in here: ... precisely in this line:
Set json_ParseObject = New Dictionary
.
Anyway, check compatibility note in How to add reference?, also make sure that there is no custom class with the same name.
Hi there,
I tried to test out VBA-JSON and used this simple macro from your examples:
However, while executing the macro I am getting the "Invalid use of New keyword" error in here:
precisely in this line:
Set json_ParseObject = New Dictionary
.I have imported JsonCoverter.bas into my project and added reference to Microsoft Scripting Runtime, so everything should work fine.
I am using MS VBA 7.1.
Any ideas?