Questions tagged [jsonreader]

114 questions
0
votes
3 answers

How can i see how many bytes was received from GSON JsonReader

While reading here and creating a large Object to send and receive using JsonWriter and JsonReader. I wanted to keep track of total bytes sent.
Erik
  • 5,039
  • 10
  • 63
  • 119
0
votes
0 answers

While parsing Json using JsonReader I am getting SSLProtocolException

I am trying to parse a json response with JsonReader so that I can directly use Inputstream to parse it. But I am getting a exception. Logcat: 02-04 18:30:54.515: W/System.err(1695): javax.net.ssl.SSLProtocolException: Read error: ssl=0x36d690:…
Vaibs
  • 1,128
  • 3
  • 16
  • 36
0
votes
1 answer

ExtJs Don't find Property to Map String Collection

I return a list of string for the combobox that serialized look like: data:{"option1", "option2", "option3"...} JsonReader have a list of fields, lets said we want to map to a OPT field: reader: new Ext.data.JsonReader({... fields: [ {name:…
Jaider
  • 14,268
  • 5
  • 75
  • 82
-1
votes
0 answers

How do I solve the error about Google Fido2-codelab?

https://codelabs.developers.google.com/codelabs/fido2-for-android/index.html?index=..%2F..index#0 https://www.youtube.com/watch?v=290KDa0chNs I tried to follow the following website and youtube video to create a fido2 app but always have trouble…
-1
votes
1 answer

How do I receive data from JSON/gSON Object with jqGrid?

i'm trying to add data from an Java Object via gSON over JSON to a jqGRID Table but i'm stuck, configuring the jsonreader. The Java Object looks like this: public class UserObject { public int uid = 1337; public List data1= new…
Knutwurst
  • 1
  • 1
-1
votes
1 answer

Expecting a string but was BEGIN_OBJECT: JsonReader

There are some other answers to this question on here but not sure how to get them to work with my code. I have a lot of JSON to pass so I need to stream it rather than do it all at once. I cannot quite get the errors out of the code. Here is my…
BeniaminoBaggins
  • 11,202
  • 41
  • 152
  • 287
-1
votes
1 answer

How to bind a JsonResult object to jqgrid?

I have the following method in the controller which I call from my view to populate a jqgrid. This method works fine and returns data. public JsonResult _FirstLook() { HttpResponseMessage response; response =…
Javier
  • 2,093
  • 35
  • 50
-2
votes
1 answer

How to Deserialize a string which contains multiple object of same type in appended format [C#]

Let's say I have an Employee class. Employee { string Name; int Age } My string contains the data of different company's employee in a string. I want deserialize it as List of Company Info. I have Company Class. Is there any solution which…
-2
votes
2 answers

how to parse json where key is variable using scala play json reader?

how can i access i4x-IITB-CS101-problem-33e4aac93dc84f368c93b1d08fa984fc_2_1 key and data inside this key ? I have never seen an example json reader that describes how the reader works when the key attribute is a variable such as below example. { …
1 2 3 4 5 6 7
8