-
#include "tensorstore/context.h" - class tensorstore::Context::Spec;
Parsed specification of a collection of context resources.
Constructors¶
- Spec();
Constructs an empty context spec.
Methods¶
-
Result<::nlohmann::json>
ToJson(const ToJsonOptions& options = ToJsonOptions{}) const; Converts to a JSON representation.
-
static Result<Spec>
FromJson(::nlohmann::json j,
const FromJsonOptions& options = FromJsonOptions{}); Parses from a JSON representation.
Conversion operators¶
- explicit operator ::nlohmann::json() const;
Converts to a JSON representation.