Quantcast
Channel: Silverlight 5 forum
Viewing all articles
Browse latest Browse all 1083

System.FormatException

$
0
0

I am work on a silverlight app which use a json data.

I am using System.Json to work with a Json file. I am using Stream to construct the JsonObject for the app. But it always keeps throwing the exception System.FormatException.

Here is the code,

Stream fs = File.Open(new MainWindow().getFileName("events"), FileMode.Open);

            JsonObject jsonObject = (JsonObject) JsonObject.Load(fs);

any ideas?


Viewing all articles
Browse latest Browse all 1083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>