c++ json 파싱 하려고 하는데



[]대괄호는 어떻게 해서 파싱해야죠??
#include "json.h"
#include "fstream"
#include "iostream"

int main( int argc, const char *argv[] )
{
 
 Json::Value root;
 Json::Reader reader;
 
 
 std::string doc =  "{ "1": [{ "x": "0.213212", "y": "0.413212", "z": "0.613212"},{ "x": "0.2135624", "y": "0.411234", "z": "0.615412"}]}";
  
 bool parsingSuccessful = reader.parse(doc, root);

 if ( !parsingSuccessful )
 {
  std::cout  << "Failed to parse configurationn";
  return 0 ;
 }

 Json::Value value = root["1"];
 Json::Value::Members key = value.getMemberNames();

 std::cout << "size: " << value.size() << "n";
 for(int i = 0 ; i < value.size(); i++)
 {
  
  std::cout << i << ", key :" << key[i] << ", value :" << value[key[i]].asString() << "n";  
 }
 
 getchar();
 
 return 0;
}

오류뜸 ㅠㅠ