cmFileAPI: Use cmJSONState to read client queries

This approach will be more portable.
This commit is contained in:
Tyler Yankee
2026-07-24 07:47:19 -04:00
parent 42da7a30a9
commit d3ccd49eeb
3 changed files with 8 additions and 35 deletions
-2
View File
@@ -10,7 +10,6 @@
#include <unordered_set>
#include <vector>
#include <cm3p/json/reader.h>
#include <cm3p/json/value.h>
#include <cm3p/json/writer.h>
@@ -169,7 +168,6 @@ private:
/** Identify the situation in which WriteReplies was called. */
IndexFor ReplyIndexFor = IndexFor::Success;
std::unique_ptr<Json::CharReader> JsonReader;
std::unique_ptr<Json::StreamWriter> JsonWriter;
bool ReadJsonFile(std::string const& file, Json::Value& value,