Ensure arrays sort before objects in Record IDs
This commit is contained in:
parent
8907f0aa14
commit
395d8e5b8c
1 changed files with 1 additions and 1 deletions
|
@ -15,8 +15,8 @@ use std::fmt;
|
||||||
pub enum Id {
|
pub enum Id {
|
||||||
Number(i64),
|
Number(i64),
|
||||||
String(String),
|
String(String),
|
||||||
Object(Object),
|
|
||||||
Array(Array),
|
Array(Array),
|
||||||
|
Object(Object),
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<i64> for Id {
|
impl From<i64> for Id {
|
||||||
|
|
Loading…
Reference in a new issue