| 233 | } |
| 234 | |
| 235 | void FieldDef::writeToJson(QJsonObject& json) |
| 236 | { |
| 237 | json["offset"] = static_cast<double>(m_structOffset); |
| 238 | json["length"] = static_cast<double>(m_size); |
| 239 | |
| 240 | if (!m_entry) |
| 241 | return; |
| 242 | |
| 243 | QJsonObject entryJson; |
| 244 | m_entry->writeToJson(entryJson); |
| 245 | json["entry"] = entryJson; |
| 246 | } |
no outgoing calls
no test coverage detected