2020-03-30 06:34:56 +08:00
|
|
|
#include "simdjson.h"
|
2020-04-16 04:45:36 +08:00
|
|
|
|
2020-03-30 06:34:56 +08:00
|
|
|
int main(void) {
|
|
|
|
simdjson::dom::parser parser;
|
|
|
|
simdjson::dom::element tweets = parser.load("twitter.json");
|
|
|
|
std::cout << tweets["search_metadata"]["count"] << " results." << std::endl;
|
2020-04-16 04:45:36 +08:00
|
|
|
}
|