Quantcast
Channel: FiveTech Software tech support forums
Viewing all articles
Browse latest Browse all 27092

Hash when decoding JSON [ Mr. Rao ]

$
0
0
In a previous thread, you shared the following function: [code=fw:3hzhr5hj][/code:3hzhr5hj] Unfortunately the line hHash := &cStr creates an error with &. I am building this whith FWH 17.06 plus Harbour and MSVC++ 2017 Do you have an alternative ? The ultimate objective is this. I receive a JSON document. It is built as follows: SECTION 1 SECTION 2 SECTION 3 // This is the data I want Subsection 3A DetailSections // There may be several of these Details Subsection 3B Activity // There will be many of these Details // Each of these may have multiple lines I will be reading all lines in Section 3, in sequence, and will want to add each line to an array. Ultimately this will display a BROWSER display. Currently, if I use hb_JSONdecode( file ) and put that in a browser, it shows me the 3 sections. Then there are [=>] marks for each subsection. I click on those and get a new browser. Within those I see the detail sections with the same symbol. I click on the value and it opens another browser to reveal the data. So ... putting the values into a hash table would be helpful because then I should be able to pick up the values and add them to my displayable browser so I can see everything at once. Again, this is not to find individual data, but actually a viewer to see all of the data Tim

Viewing all articles
Browse latest Browse all 27092

Trending Articles