Ensure arrays sort before objects in Record IDs

This commit is contained in:
Tobie Morgan Hitchcock 2022-08-31 14:37:22 +01:00
parent 8907f0aa14
commit 395d8e5b8c

View file

@ -15,8 +15,8 @@ use std::fmt;
pub enum Id {
Number(i64),
String(String),
Object(Object),
Array(Array),
Object(Object),
}
impl From<i64> for Id {