| 169 | } |
| 170 | |
| 171 | std::optional<maajs::ValueType> ContextImpl::get_node_data_parsed(std::string node_name) |
| 172 | { |
| 173 | auto json = get_node_data(node_name); |
| 174 | if (!json) { |
| 175 | return std::nullopt; |
| 176 | } |
| 177 | return maajs::JsonParse(env, *json); |
| 178 | } |
| 179 | |
| 180 | MaaTaskId ContextImpl::get_task_id() |
| 181 | { |
nothing calls this directly
no test coverage detected