| 656 | } |
| 657 | |
| 658 | JsonDoubleValue *JsonSchema::getDoubleValue(const QString &name, JsonObjectValue *value) |
| 659 | { |
| 660 | JsonValue *v = value->member(name); |
| 661 | if (!v) |
| 662 | return 0; |
| 663 | |
| 664 | return v->toDouble(); |
| 665 | } |
| 666 | |
| 667 | |
| 668 | /////////////////////////////////////////////////////////////////////////////// |