Enrico,
Sometimes that isn't possible due to an NDA that does not allow me to post some links / data.
Let me put it this way. Mr. Rao suggested this code as an alternative to hb_jsondecode( )
The value I receive from the server is a properly formatted json response.
If I use the hb_jsondecode( ) function to return a hash file cRet, and then look at it with xbrowser, everything is properly handled.
In studying Mr. Rao's solution with the exact same json response, not encoded as a hash, it has an error with the & symbol. It doesn't matter if I use xHarbour ( .com ) or Harbour.
My issue is I want to translate ALL lines of the json response, and write them to an array, not just find one specific value. I was looking at Mr. Rao's solution as a possible way toward doing this since it was given in response to another person who also wanted to put a json response into an array rather than a hash file.
So ... the error is a runtime error, and it specifically states the error is with &.
So I can stick with the hash ... and just figure out how to work with that to get what I want which is a multi level parsing of the data.
Tim
↧