on ‎2021 Jul 29 8:24 AM
Please forgive my ignorance: I am brand new to Gigya (though very experienced with .NET)
We have some very simple .NET (C#) code that we're trying to port from using the Gigya.Socialize SDK directly to using the NuGet package. I assumed the binaries would be essentially equivalent. The code appears to run perfectly, but the results are different. Here is the sample code:
GSResponse response = request.Send();
GSObject resObj = response.GetData();
GSArray results = resObj.GetArray("results");
With the SDK, "resObj" has a "Map" of 10, and the "GetArray" works like a charm.
However, with the NuGet, "resObj" has a "Map" of 8, "results" is not one of them, and the call to "GetArray" obviously throws an error. The underlying REST call has definitely succeeded, because "response.GetResponseText()" shows the json needed to get the array of results. Why the difference? How can I fix this? Any ideas?
Please note that this may well be documented somewhere already, but I was unable to find it, so if it is, feel free to point me to it. 🙂
Thanks in advance!
Request clarification before answering.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.