TensorStore
tensorstore::kvstore::Spec::FromJson
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
          • C Spec
            • Constructors
            • Methods
              • F AppendSuffix
              • F AppendPathComponent
              • F valid
              • F BindContext
              • F UnbindContext
              • F StripContext
              • F context_binding_state
              • F Set
              • F ToJson
              • F FromJson
              • F FromUrl
              • F ToUrl
              • F base
            • Data members
            • Conversion operators
            • Friend functions
            • Related Types
          • C KvStore
          • C ByteRange
          • C OptionalByteRangeRequest
          • C StorageGeneration
          • C TimestampedStorageGeneration
          • C KeyRange
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/kvstore/spec.h"
    static Result<Spec> tensorstore::kvstore::Spec::FromJson(
        
    ::nlohmann::json j,
        
    const JsonSerializationOptions& options =
            JsonSerializationOptions{}
    );

    Parses from a JSON representation.