Ensure record ids are escaped properly in JSON format
This commit is contained in:
parent
073c15b826
commit
6ef120f7ce
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ impl Serialize for Thing {
|
||||||
val.serialize_field("id", &self.id)?;
|
val.serialize_field("id", &self.id)?;
|
||||||
val.end()
|
val.end()
|
||||||
} else {
|
} else {
|
||||||
let output = format!("{}:{}", self.tb, self.id);
|
let output = self.to_string();
|
||||||
serializer.serialize_some(&output)
|
serializer.serialize_some(&output)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue