Json.NET is a popular high-performance JSON framework for .NET
0
votes
2answers
21 views
1
vote
1answer
37 views
Can't serialize an object with Json.Net
I have the following object and I am trying to serialize it to Json with Json.NET
[Serializable]
public class FlightSelection : IEquatable<FlightSelection>
{
public static readonly DateTime ...
0
votes
0answers
10 views
how to connect windows phone emulator to local server
I Want just to know how
How we can do to access the OpenERP server (on localhost) via a Json request using windows phone application (emulator)?
how to connect to a local server = (localhost ...
1
vote
1answer
27 views
How to handle spaces in JSON keys when serializing to XML?
I'm using Json.NET in a .NET 4.0 application in order to convert a JSON RESTful response into XML. I am running into issues converting JSON into XML if a JSON child key has a space.
So far, I am able ...
0
votes
1answer
17 views
C#, JSON Parsing, dynamic variable. How to check type?
I'm parsing JSON texts. Sometimes I get Array and sometimes Object types in the text. I tried to check the type as follows:
dynamic obj = JsonConvert.DeserializeObject(text); //json text
if (obj is ...
3
votes
2answers
35 views
Json Parsing in c# using Json.Net
{"Posts":
[{"id":"1",
"title":"Bibidh prothom khondo",
"content":"sjih sdkljjdsf kdjsfjks",
"author":"","last_update":"23 june 2013",
...
3
votes
3answers
67 views
Linq query JObject
I am using Json.net for serializing and then making an JObject that looks like this:
"RegistrationList": [
{
"CaseNumber": "120654-1330",
"Priority": 5,
"PersonId": 7,
...
2
votes
1answer
42 views
SignalR argument serialization issue
I have a strange issue with SignalR, where I have a simple hub which accepts a model like so:
public class Entry
{
public string Version { get; set; }
public Guid PersistedId
{
...
0
votes
1answer
38 views
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type with complex and nested objects
I`m trying to build web api for complex object. For this aim I built the custom binder which deserialize this object from JSON.
My Customer Binder looks like:
var paramType = ...
-3
votes
0answers
25 views
how to extract json data in windows form application c#.net? [on hold]
I have following json data:
{"Movies":[{"Movie":
{"id":"21",
"name":"BombayTalkies",
...
0
votes
1answer
19 views
google book api deserialize jsonconvert returning null
i am trying to deserealize json as `JsonConvert.DeserializeObject(responseBodyAsText) object. the problem is that i am not able to return anything in it. how can i populate the classes i generated ...
1
vote
1answer
32 views
How can I restore the int deserialization behavior after upgrading Json.NET?
I have some .NET code that deserializes JSON objects created by a webservice running a dynamic language. Because the source is dynamic, it sometimes serializes integral values in float format (e. g. 2 ...
1
vote
3answers
57 views
Deserialize the JSON where the values are field names with JSON.NET
I have a very undesirable situation which requires me to deserialize the JSON where the values are field names with JSON.NET. Assuming that I have the following JSON which is very properly structured:
...
-3
votes
1answer
30 views
Send Json Data to server with Windows phone [on hold]
I want to send data Json in a web request to the web service in json format and get the result from the server. a lot of methods .. :p
Please help me to find a solution.
0
votes
1answer
29 views
Parse recursively unknown JSON structure with JSON.NET
I try to parse a JSON structure with JSON.NET. All properties of the first level is deserializing correctly.
I have a problem to deserialize a Dictionary. The object type can be anything: string, ...