SHARE
TWEET

Untitled

a guest Jun 25th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  QJsonParseError *error = nullptr;
  2.         QJsonDocument documento = QJsonDocument::fromJson(buffer,error);
  3.         if (error)
  4.         {
  5.             ui->pteRegistro->setPlainText("ERROR JSON:"+error->errorString());
  6.             return;
  7.         }
  8.         QJsonObject obj = documento.object();
  9.         QJsonArray arr = obj.value("Personas").toArray(); // arr.size() == 0 ?
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top