mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Use msgpack for API
This commit is contained in:
parent
3d328c1d42
commit
bda2af3dfb
12 changed files with 264 additions and 172 deletions
|
|
@ -163,6 +163,7 @@ impl serde::ser::Error for CompactJson5Error {
|
|||
/// # Errors
|
||||
///
|
||||
/// Returns an error if the value cannot be serialized to JSON5.
|
||||
#[allow(dead_code)]
|
||||
pub fn to_string_compact<T: Serialize>(value: &T) -> anyhow::Result<String> {
|
||||
let mut output = String::new();
|
||||
let mut serializer = CompactJson5Serializer {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue