Skip to content
TensorStore
tensorstore.Context.Spec.to_json
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
        • Core
          • C TensorStore
          • C Context
            • Constructors
            • Classes
              • C Spec
                • Constructors
                • Accessors
                  • M to_json
                    • Parameters
                      • p include_defaults
              • C Resource
            • Accessors
          • C KvStore
          • C Transaction
          • C Batch
          • F open
        • Indexing
        • Spec
        • Views
        • Data types
        • Asynchronous support
        • OCDBT
        • Experimental
      • API reference
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    • Parameters
      • p include_defaults
    tensorstore.Context.Spec.to_json(self, include_defaults: bool = False) → Any

    Returns the JSON representation.

    Parameters:¶
    include_defaults: bool = False¶

    Indicates whether to include members even if they are equal to the default value.