| 455 | } |
| 456 | |
| 457 | void ScriptParam::SetJSON(SimpleJSONWrapper &JSONVal) { |
| 458 | type_ = JSON; |
| 459 | str_val_ = JSONVal.writeString(false); |
| 460 | editor_.SetCustomWindowLauncher(); |
| 461 | } |
| 462 | |
| 463 | SimpleJSONWrapper ScriptParam::GetJSON() { |
| 464 | if (type_ != JSON) { |
no test coverage detected