Trouble parsing json file. #1285
                  
                    
                      Thundercleez
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment
-
| Not sure, but I recommend parsing into a  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use jsoncpp to parse this json
My code is like (ignore any typos, this is typed, not copied). I run into a couple problems. 1st is that I never make it to parseFeild. 2nd issue is that while parse seems to work as expected, I see "Parse: Blah" logged, and parseBlah seems to work as expected, "I see ParseBlah: Element" logged, parseElement logs 0 and 1, when I'm expecting it to log Field. Because of that, it never finds the Field string, so it doesn't call parseField. What's missing here? Shouldn't the Element iterator contain a Field key?
Beta Was this translation helpful? Give feedback.
All reactions