| 52 | |
| 53 | |
| 54 | void Option::toMetadata(MetadataNode& parent) const |
| 55 | { |
| 56 | std::string value = getValue(); |
| 57 | parent.addWithType(getName(), value, Utils::inferJsonType(value)); |
| 58 | } |
| 59 | |
| 60 | |
| 61 | bool Option::nameValid(const std::string& name, bool reportError) |