I'm having some issues with fetching json values in c#.

http://i.stack.imgur.com/Uxn8e.png

Here is the code in question:

var json2 = new WebClient().DownloadString("http://fetch.json.url.here" + Input_Textbox.Text);
JObject o2 = JObject.Parse(json2);

string he_ident = (string)o2["he_ident"];
string le_ident = (string)o2["le_ident"];

Console.WriteLine(he_ident);
Console.WriteLine(le_ident);


Line 204 is: JObject o2 = JObject.Parse(json2);

The json is this: [{"le_ident":"06L","he_ident":"24R"},{"le_ident":"06R","he_ident":"24L"},{"le_ident":"07L","he_ident":"25R"},{"le_ident":"07R","he_ident":"25L"}]

I've also tried with just one set of le_ident and he_ident, such as [{"le_ident":"06L","he_ident":"24R"}] but it sill throws the same error.

Any ideas?


Question: Can I make a graph of savings in Quicken?
Answer: I found a way to do this, but it's slightly backwards.

Quicken does not allow you to make a graph of just your income, probably because that would be a fairly boring graph for most people.  But it does allow you to do a graph of your expenses.  Doing so, while including income categories, will produce the graph I want, but with negative numbers (savings is negative spending).


Go to Reports -> Reports and Graph Center in the main menu.
In the Quicken Standard Reports section, go to Spending by Category
Click the Customize button.
On the Customize Spending by Category window, on the Categories tab, add all Income and Expense categories (but no Bank categories).
Click Show Graph.
Set the Column to Month.  This will switch it from a pie chart to a bar graph


This will show a bar graph of overall spending, counting income as Negative Spending.  So, having negative bars is good in this case.