Questions tagged [jsonreader]
114 questions
1
vote
0 answers
RavenDB unable to import .ravendump export file
Me and my co-workers are using RavenDB (currently Stable Build 3800). When one of us creates an export of our Develop Server's Database (with or without enabled Indexes), my co-workers are able to import it locally without a problem, but I'm getting…

Kevin Cruijssen
- 9,153
- 9
- 61
- 135
1
vote
0 answers
When I am using Gmail API ,I am getting java.lang.NoClassDefFoundError: com.google.gson.stream.JsonReader
I am following
Google Developer's Doc
.I have included all mentioned jars but at runtime I getting this..
java.lang.RuntimeException: An error occured while executing doInBackground()
09-19 12:42:06.416: E/AndroidRuntime(14215): at…

Harry Mad
- 488
- 5
- 17
1
vote
5 answers
problem with JsonStore and JsonReader
In my ExtJS application I use EditorGridPanel to show data from server.
var applicationsGrid = new Ext.grid.EditorGridPanel({
region: 'west',
layout: 'fit',
title: '
Приложения',
collapsible:…


kalan
- 1,752
- 4
- 20
- 35
1
vote
0 answers
Android JsonReader getting specific object json as json
I'm parsing a very large json file with jsonreader as an inputstream.
This json has a geometry object and on this specific object i would like to get the json itself instead of parsing it's individual values.
This is because its easier to convert a…

Miguel Ângelo Belém
- 113
- 1
- 10
1
vote
2 answers
Using JsonReader to read dynamic json files
As part of an API I am creating, I have allowed the specification of configurations (which can be any storage format, just one implementation is with Json). As part of that, my code will have no knowledge of what the configuration truly holds.
I am…

Joshua Taylor
- 75
- 1
- 8
1
vote
0 answers
OutOfMemoryException when using Gson streaming JsonReader in Android
I previously was trying this using a tree structure. The JSON response is about 3.5MB, so it was understandable that trying to parse it this way would cause older devices to run out of memory.
My question is: Why, after I have switched to a…

zholmes1
- 539
- 5
- 21
1
vote
1 answer
Using JSON Reader in API 8 in android
I have a huge json data which i got from a http , i tired the JSON Reader , and passing a string to the JSON object, both ways worked but i prefred the JSON Reader which takse an Input stream , because the string buffer for some point of time won't…

Reham
- 1,916
- 6
- 21
- 45
1
vote
1 answer
JsonArray Or JsonObject is null while parsing with JsonReader
I am trying to parse a json using JsonReader. While parsing I came accross 2 scenarios where my app crashes.
1). When JsonArray contains sets of another JsonArrays and and out of which one of it is null. I am giving a scenarios where result is a…

Vaibs
- 1,128
- 3
- 16
- 36
1
vote
1 answer
JQGrid not changing page
i have a problem in my jqgrid table: i load the json, i have my table but i can only see the last page of the table, without the possibility of changing the page.
the js code:
$("#list").jqGrid(
{
url:'test.json',
…

zibibbalibbo
- 53
- 7
1
vote
1 answer
How to make a store with jsonreader using metadata in Extjs 4?
Is it possible to create a store that will read json, and use fields specified in the metadata in the json as a model?
I want to say something like:
var store = new Ext.data.Store({
autoLoad: {
params: {
metaNeeded: true
…

Matt L
- 141
- 2
- 9
0
votes
1 answer
jsonReader Configuration for jqGrid
I'm trying render data in my Jqgrid, but it is just not showing up. My Json data comes from a web server so I'm trying to use Jsonreader as a function to format my data. Can any1 point my mistakes out please. Thanks in advance.
here is my code for…

Brkk
- 577
- 1
- 7
- 19
0
votes
1 answer
how to use primary key with jqGrid and jsonReader
I've looked at several posts but don't understand how to use jsonReader. I would like to keep my primary key hidden when editing, adding. If I make my permissionID editable:false or hidden it wont edit.
Any help or direction to other posts would be…

Sue
- 61
- 1
- 1
- 12
0
votes
1 answer
jqgrid json reader for geoJson
I have a PHP script that extract valid GeoJSON data from a database. Now I would like to prepare a grid view of these data with jqgrid, but I can't figure out the proper jsonReader for the javascript code.
This is my GeoJSON…

user781065
- 47
- 1
- 8
0
votes
2 answers
Not being able to map model in JsonStore using JsonReader in Sencha Touch
I am facing a problem in sencha while mapping Ext.data.JsonStore model using Ext.data.JsonReader.
Json response from server (server model):
{"rows":[{"id":1,"firstname":"Bill"},{"id": 2,"firstname":"Ben"}]}
Model used in Json Store:
Ext.regModel(…

nuzahat
- 1
- 1
0
votes
1 answer
How to use GSON streaming to parse JSON with multiple top-level objects?
I've been looking for example Gson streaming API code, and I see a lot of this style:
reader.beginObject();
while (reader.hasNext()) {
switch(reader.peek()) {
case NAME:
...
case…

NoazDad
- 608
- 3
- 9