mirror of
https://github.com/nlohmann/json.git
synced 2024-08-21 20:42:29 +02:00
12 lines
247 B
Plaintext
12 lines
247 B
Plaintext
#include <nlohmann/json.hpp>
|
|
|
|
int main()
|
|
{
|
|
nlohmann::ordered_json json = {"Test"};
|
|
json.dump();
|
|
|
|
// regression for #3013 (ordered_json::reset() compile error with nvcc)
|
|
nlohmann::ordered_json metadata;
|
|
metadata.erase("key");
|
|
}
|