I worked a lot with Android, but today I need to work with Xamarin. I am making a PCL class and I am trying to create a JSON object from a string ( HttpWebResponseconverted to a string) to be called from an Android wrapper.
After some research, I could not find anything that really answers my question.
Ultimately, I want to be able to just call something like this:
string value = jsonObject.get("key").getAsString();
I get the string from the HTTP response and then I want to convert it to a JSON object. When the JSON object is created, I want to extract the value, as in the example. However, I am doing this in PCL, so is it possible to do this in Xamarin / C # from PCL?
Thanks for the help and reading!
source
share