| 301 | */ |
| 302 | |
| 303 | bool Json::operator== (const Json &other) const { |
| 304 | if (m_ptr == other.m_ptr) |
| 305 | return true; |
| 306 | if (m_ptr->type() != other.m_ptr->type()) |
| 307 | return false; |
| 308 | |
| 309 | return m_ptr->equals(other.m_ptr.get()); |
| 310 | } |
| 311 | |
| 312 | bool Json::operator< (const Json &other) const { |
| 313 | if (m_ptr == other.m_ptr) |