Closed sammuelsum closed 3 years ago
Oh Sorry. Did not add the dictionary class.
I'm having the same problem. Did you add the dictionary class from this repo? Or just add "MS Scripting" in Tools > References. Or did you have to declare/set something as a dictionary?
I still meet the error on the latest release
Hi Running on Win 10 and using O365 this solved the "Method or data member not found" problem in "Function json_ParseObject"
Change Dictionary to Scripting.Dictionary
Private Function json_ParseObject(json_String As String, ByRef json_Index As Long) As Scripting.Dictionary Dim json_Key As String Dim json_NextChar As String
Set json_ParseObject = New Scripting.Dictionary
Peter,
VBA-JSON is written so that the same code can be used on both Mac and Windows. That is why the read.me file says:
This is mentioned in one of the issues, but no solution is posted there. During compilation, the code "Set json_ParseObject.Item(json_Key)" gives an error message "Method or data member not found".