superobject Questions

2

Solved

I need to load a JSON file, change a value and then write it back to disk. This is easy using SuperObject, but how do I do the same thing using the System.JSON unit? const PathToX = 'AllCategori...
Calaverite asked 29/10, 2015 at 23:42

4

Solved

I'm using Delphi 2010 and superobject library. I have understand how to parse json-file, but I have no ideas how to create json? The algorithm is: Parsing JSON and load in TStringGrid Adding d...
Agony asked 28/5, 2013 at 10:41

3

Solved

I have the following JSON from my server: { "userid":"12", "username":"TestChar", "logged":"yes", "status":"Premium User", "areas":{ "SERVICEAREA_XX1":{ "id":"1", "area":"SERVICEAREA_XX1",...
Valera asked 2/10, 2012 at 3:14

2

Solved

I widely use the SuperObject JSON library. I need to be able to check if a particular element exists in an object or not. I can check the value of an element, for example an integer that doesn't ex...
Resentful asked 25/5, 2014 at 18:2

2

I'm trying to save JSON where IP is a key. Expected JSON result is: {"SnmpManagers":[{"10.112.25.235":162}]} The Delphi SuperObject code: const IpAddr = '10.112.25.235'; Port = 162; var tmp...
Menstruate asked 26/3, 2014 at 6:13

1

Solved

Some JSON serializers return null for an empty string datafield, e.g. { "searchtext": null, "moretext": "contains something", "bookdate": 1377468000000, "empid": 12345, "listtype": 1 } I'm...
Longspur asked 26/8, 2013 at 13:25

1

Solved

How to get ALL 'id' member values from a generic JSON. Without knowing structure of it. Because its very complex and it has a lot of sub objects. It has to loop through all the sub objects. Again ...
Druse asked 29/12, 2012 at 15:1

1

Solved

We can use the SuperObject library to invoke methods of a certain object by its name and giving its parameters as a json string using the SOInvoker method like in this answer I'd like to know how ...
Madelainemadeleine asked 20/10, 2011 at 20:8

0

Just share my experience using Json using Delphi SuperObject The idea is how to convert my query result into json format easily. I use string to represent all data format (including BLOB, ...
Comparison asked 12/5, 2011 at 5:38
1

© 2022 - 2024 — McMap. All rights reserved.