2
votes
3answers
54 views

Deserialize JSON string - list/array

{ "id":"123", "result": { "0": { "children_id": "0", "name": "some name" }, "1": { "children_id": "1", "name": "some other name" } } } I have this ...
2
votes
1answer
41 views

Cannot deserialize Json object to dictionary

I have a JSON object create in my jquery file as {"showmiddleinitial":"True","showprefix":"True","showsuffix":"True"} now I m sending this object to my controller using AJAX call by parsing it ...
1
vote
2answers
39 views

pass a PHP object to an ajax PHP script

How can I pass a PHP object created during my initial page load, to an ajax call? create-page.php creates my page and has an object expensiveObject. I need to pass expensiveObject to ...
2
votes
1answer
64 views

Can I serialize an interface(_recordset) with TJSONMarshal?

I'm trying to serialize objects with TJSONMarshal (XE4) but I have a problem when objects has interfaces properties like _recordset e.g. My class: TFoo = class private FrsFoo: _recordset; ...
1
vote
0answers
31 views

Json DataContract serialization with “dynamic” object

A service I have no control over is returning json in the following format: { "name" : "the name", "slots" : [ { "content" : [ { "id" : "101", "name" : "Jim" }, { "id" : ...
0
votes
0answers
17 views

Can I overcome the inbuilt JSON length limit during serialisation of a GridView?

This is a very similar question to the one here but since that is now four years old I thought I wouldn't keep adding to it. I am also getting the error Error during serialization or deserialization ...
0
votes
1answer
47 views

JSON ajax SyntaxError: JSON.parse: unexpected character

All I am trying to do is to build an object from the input elements typed in by the user without them clicking submit. These functions supposed to do the job, except I am not getting the $_POST array ...
1
vote
2answers
84 views

Parsing a complex JSON result with C#

I am trying to parse the following complex JSON result, which is returned from the Zoho Crm API: { "response": { "result": { "Contacts": { "row": [ ...
0
votes
3answers
48 views

How to convert json string to java object

{ "application_num" : 185, "age" : 35, "mobile_num" : "9943847180", "active" : null, "photo" : null, "bytes" : null, "creator" : null, "modifier" : null, "modifiedby" : null, ...
0
votes
1answer
28 views

Deserializing more complex JSON with DataContractJsonSerializer

I have a JSON response from Facebook Graph API, that looks like this: { "name": "XXXXXX YYYYYYY", "username": "XXXXXX.YYYYYYY", "email": "[email protected]", "location": { ...
4
votes
1answer
45 views

Why do int keys of a python dict turn into strings when using json.dumps?

According to this conversion table, Python ints get written as JSON numbers when serialized using the JSON module--as I would expect and desire. I have a dictionary with an integer key and integer ...
0
votes
0answers
28 views

Rabl for a nested hash of ActiveRecord collections

I have a few ActiveRecord objects like City, Country, State etc. My controller action is like (as a representative example): def get_data @data = { cities: City.limit(2), countries: ...
1
vote
1answer
32 views

Want to Serialization Json include [JsonIgnore] in sometimes

I have classes that 95% don't want to serialization some negation properties. So I use [JsonIgnore] attributes & Newtonsoft.Json, and it works fine. However, I have only few methods want to ...
1
vote
2answers
58 views

Issue parsing JSON with JQuery

I am trying to parse a JSON object passed from a WCF Service, here is the Response the service gives [ { "Caption": "Hello", "CityState": "Seattle", "URL": "Test" }, { "Caption": ...
0
votes
3answers
55 views

Adding JSON Strings transparently to a map/list

I am getting from an external source (Database) JSON strings that I need to collect together into a result that is Map (key is the record key and the value is actually a string that includes a Json ...

1 2 3 4 5 84
15 30 50 per page