TensorStore
tensorstore::CodecSpec::FromJson
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
          • C Context
          • C Transaction
          • C Batch
          • C Schema
            • Methods
            • Types
            • Friend functions
            • Conversion operators
            • Related Types
              • C ChunkLayout
              • C CodecSpec
                • Types
                • Constructors
                • Methods
                  • F valid
                  • F ToJson
                  • F FromJson
                  • F MergeFrom
                  • F Merge
                • Conversion operators
                • Friend functions
              • C Unit
              • T DimensionUnitsVector
          • 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/codec_spec.h"
    static Result<CodecSpec> tensorstore::CodecSpec::FromJson(
        
    ::nlohmann::json j,
        
    const FromJsonOptions& options = FromJsonOptions{});

    Parses from a JSON representation.