title: Rapidjson findmember
body: <p>I have a JSON string like this:</p>
  
  <pre><code>{"callCommand":{"command":"car","floor":"2","landing":"front"}}
  </code></pre>
  
  <p>Now, I would like to check if there is a name called <code>command</code> and get the value. Is it possible? My code is as follow, but it doesn't work.</p>
  
  <pre><code>const char json[] = "{\"callCommand\":{\"command\":\"car\",\"floor\":\"2\",\"landing\":\"front\"}}";
  
  rapidjson::Value::ConstMemberIterator itr = d.FindMember("command");
  
  if (itr != d.MemberEnd())
      printf("command = %s\n", d["callCommand"]["command"].GetString());
  </code></pre>