#include "tensorstore/context.h" static Result<Context>tensorstore::Context::FromJson(::nlohmann::json json_spec, Context parent = {}, FromJsonOptions options = {}); Constructs a context from a JSON spec. Parameters:¶ ::nlohmann::json json_spec¶The JSON spec. Context parent = {}¶The parent context to extend. Specifying a null context is equivalent to specifying Default(). FromJsonOptions options = {}¶Options for parsing json_spec.