TensorStore
tensorstore::Context::Resource<Provider>::ToJson
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
          • C Batch
          • C Transaction
          • C Context
            • Types
              • T ToJsonOptions
              • C Spec
              • C Resource
                • Types
                • Constructors
                • Methods
                  • F DefaultSpec
                  • F get
                  • F has_resource
                  • F valid
                  • F ToJson
                  • F FromJson
                  • F BindContext
                  • F StripContext
                • Friend functions
            • Constructors
            • Methods
            • Conversion operators
            • Friend functions
            • Related Types
          • 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"
    Result<::nlohmann::json>
    tensorstore::Context::Resource<Provider>::ToJson(
        
    const ToJsonOptions& options = ToJsonOptions{}) const;

    Converts to a JSON representation.