mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
3fa40b8dc2
* Adding an example. * Updated other doc file. * Trying to take into account @jkeiser's comments. * Some people prefer empty final lines.
8 lines
207 B
C++
8 lines
207 B
C++
#include "simdjson.h"
|
|
|
|
int main(void) {
|
|
simdjson::dom::parser parser;
|
|
simdjson::dom::element tweets = parser.load("twitter.json");
|
|
std::cout << "ID: " << tweets["statuses"].at(0)["id"] << std::endl;
|
|
}
|