![]() |
Code Documentation 3.5
Social Network Visualizer
|
Implements TableImport::fromCSV() and TableImport::fromJSON() (#227). More...
#include "table_import.h"#include <QFile>#include <QJsonArray>#include <QJsonDocument>#include <QJsonObject>#include <QString>#include <QTextStream>
Namespaces | |
| namespace | TableImport |
| Free functions that parse tabular files (CSV / JSON) into an in-memory ParsedTable that can be fed to Graph::vertexAttributesImport() or Graph::edgeAttributesImport(). | |
Functions | |
| static QStringList | TableImport::parseCSVLine (const QString &line) |
| ParsedTable | TableImport::fromCSV (const QString &filePath) |
Parses a CSV file at filePath into a ParsedTable. | |
| ParsedTable | TableImport::fromJSON (const QString &filePath) |
Parses a JSON file at filePath into a ParsedTable. | |
Implements TableImport::fromCSV() and TableImport::fromJSON() (#227).