| 310 | } |
| 311 | |
| 312 | bool Json::operator< (const Json &other) const { |
| 313 | if (m_ptr == other.m_ptr) |
| 314 | return false; |
| 315 | if (m_ptr->type() != other.m_ptr->type()) |
| 316 | return m_ptr->type() < other.m_ptr->type(); |
| 317 | |
| 318 | return m_ptr->less(other.m_ptr.get()); |
| 319 | } |
| 320 | |
| 321 | /* * * * * * * * * * * * * * * * * * * * |
| 322 | * Parsing |