True when shared JSON data is not initialized or the option state is disabled.


Specification changed: ASTER rev.1.0.4

ASTER::CONDITION::JSON::True while the JSON shared data option is disabled

The Condition is true while the shared JSON data option is disabled or not yet initialized ( empty ).

bool checkData() {
    if (rd->jsonPermn == JSON_PERMANENT) {  // flag check
        return this->share.empty();
    }
    return true;
}
---
title: First check the shared data option settings, & if it is turned off, `disable == true` will be determined regardless of the presence of data.
---
flowchart TD
    B{fa:fa-square-check On}:::on
    C{Off}:::off
    T(true):::true
    classDef on stroke:#f00
    classDef off stroke:#0f0
    classDef true stroke:#00f
    A[JSON Data Share Option]
    Data([fa:fa-spinner Data is empty?])
    F(false)

    A --> B & C
    B --> Data
    C --> T
    Data -->|Yes| F
    Data -->|No| T
  • When the shared data option setting is turned off, it is always true.

  • If the shared option is enabled but does not retain initialized JSON data, it is true.

  • If the shared option is enabled and retains initialized JSON data, it is false.


Specification changed

Prior to ASTER rev.1.0.3, the determination process was complex. The specification was changed to simplify it. As a result, starting from ASTER rev.1.0.4, some functions, such as the Clear Shared JSON Data command, were removed.

Minion Minion