I need some example code to do the following. If you have used the uLkJSON library for any projects this will likely be very easy.
I want to create a json string for a number of records in a table as a list or whatever the format is called in json. For this example I will use a table called customer with three fields name (string), lastdate (datetime), empcount (integer).
So for all the records in the dataset I wish to write one json string using the uLkJSON library (on Sourceforge). I assume there is some identifier for the table name then a list of records.
So a default form with a button to initiate the creation and save the result string to a memo.
Then, the reverse process to take the string created and identify the table name and iterate through each record found and each field in the record..
A second memo can show:
record 1: name=(value), lastdate=(value), empcount=(value)
record 2: name=(value), lastdate=(value), empcount=(value)
That's it! I could not find any good examples on the internet to show how this works and I hate to continue wasting time on it.
I have not used Freelancer, but have used Rentacoder in the past. I am available for any questions by email.
I am estimating this will just take a person who has used the library 15-30 minutes.
4 freelancer bu iş için ortalamada 36$ teklif veriyor
I have experience in using TlkJSONobject for both parsing and generating JSON string, including creating JSON string for array. I had to study uLkJSON.pas to find out how to do it :)