Skip to main content

canonical_json_hash

Kind: Function
Domain: Scene and artifacts
Canonical import: from cadflow.scene import canonical_json_hash

Signature

def canonical_json_hash(value: 'Any') -> 'str'

Description

Return a lowercase Scene content hash over canonical JSON bytes.

Parameters

NameTypeRequiredDefaultSource description
value'Any'yes-Not explicitly described in the source docstring.

Returns

Type: 'str'

The source docstring does not declare additional return semantics.

Errors

The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.

Behavior and constraints

  • Serialized data is intended to remain JSON-safe and should be schema-validated when crossing trust boundaries.

Import check

from cadflow.scene import canonical_json_hash

See also