move json.hpp class to thirdparty folder and add wrapper for use with LAMMPS

This commit is contained in:
Axel Kohlmeyer
2025-04-16 15:54:59 -04:00
parent 4553108035
commit 27d8e103eb
8 changed files with 44 additions and 4 deletions

View File

@ -12,15 +12,16 @@
------------------------------------------------------------------------- */
#include "lmptype.h"
#include "nlohmann/json.hpp"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <exception>
#include <string>
#include "json.h"
using namespace LAMMPS_NS;
using ::testing::Eq;
using json = ::nlohmann_lmp::json;
#define STRINGIFY(val) XSTR(val)
#define XSTR(val) #val