How can I access data by name instead of having to do string processing? Attached please find my code to parse the json.
Comments: Both of these compile and run, but the string contains the entire array (three numbers) and not just the first element (the value for time). const string_t& strTime = arr1Iter->serialize(); const string_t& strTime2 = arr1Iter[0].serialize();
Comments: Both of these compile and run, but the string contains the entire array (three numbers) and not just the first element (the value for time). const string_t& strTime = arr1Iter->serialize(); const string_t& strTime2 = arr1Iter[0].serialize();