Skip to main content

set_value

Method of JSONFile.

set_value(const Object value) -> JSONFile​

Validates and replaces the entire in-memory value without reading old contents. Registered modules also support nested numeric containers. Mutations require a writable mode.

Parameters​

  • value: JSON-compatible Aleph value.

Returns​

Reference to the same JSONFile instance.