TensorStore
tensorstore::Context::Spec::FromJson
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
          • C Context
            • Types
              • T ToJsonOptions
              • C Spec
                • Constructors
                • Methods
                  • F ToJson
                  • F FromJson
                • Conversion operators
              • C Resource
            • Constructors
            • Methods
            • Conversion operators
            • Friend functions
            • Related Types
          • C Transaction
          • C Batch
          • C Schema
          • C Spec
          • C TensorStore
        • Indexing
        • Data types
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/context.h"
    static Result<Spec> tensorstore::Context::Spec::FromJson(
        
    ::nlohmann::json j,
        
    const FromJsonOptions& options = FromJsonOptions{});

    Parses from a JSON representation.