mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
9 lines
236 B
C++
9 lines
236 B
C++
#include <iostream>
|
|
#include "simdjson.h"
|
|
|
|
int main(void) {
|
|
simdjson::dom::parser parser;
|
|
simdjson::dom::element tweets = parser.load("twitter.json");
|
|
std::cout << tweets["search_metadata"]["count"] << " results." << std::endl;
|
|
}
|