jsonreader Questions

2

I'm trying to parse my json with the code below. I get the error: Error reading JObject from JsonReader. Path '', line 0, position 0. I thought this might be because my JSON was malformed, s...
Barye asked 2/7, 2019 at 10:53

4

Solved

Using GSON in Java is there any annotation where I can indicate a field that it should keep it as a raw string even though it is an object. ? Or What would be the easiest way to achieve this? //T...
Samurai asked 29/6, 2017 at 17:11

3

Solved

I am trying to read a JSON file and parse it. I have this code for reading from my file StreamReader re = new StreamReader("artists.json"); JsonTextReader reader = new JsonTextReader(re); But ho...
Faradic asked 4/3, 2012 at 4:49

2

Solved

I am trying to parse the JSON files and insert into the SQL DB.My parser worked perfectly fine as long as the files are small (less than 5 MB). I am getting "Out of memory exception" when trying t...
Transcontinental asked 25/7, 2016 at 21:20

1

Solved

I am using JsonReader to fetch lots of data from a website and saving to a db. Incidentally, whenever the reader doesnt find a value for an object item, it fails and stops executing. This is the ...
Stockman asked 22/7, 2015 at 14:31

1

Solved

I'm trying to load a JSON file on a website using C# and JSON.Net However, I'm running into a problem when it runs because all the JSON is within []. Here's the JSON: [{"embed_count":"16","name"...
Sylvestersylvia asked 26/12, 2011 at 16:5
1

© 2022 - 2024 — McMap. All rights reserved.