2022-01-07 22:09:52 -05:00
|
|
|
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
|
2021-10-19 18:00:45 -04:00
|
|
|
mod de;
|
|
|
|
mod error;
|
|
|
|
mod keys;
|
|
|
|
mod magic;
|
|
|
|
mod payload;
|
|
|
|
mod ser;
|
|
|
|
mod serializable;
|
|
|
|
pub mod utils;
|
|
|
|
|
2022-05-15 11:52:32 -04:00
|
|
|
pub use de::{from_v8, from_v8_cached, to_utf8, Deserializer};
|
2021-10-19 18:00:45 -04:00
|
|
|
pub use error::{Error, Result};
|
|
|
|
pub use keys::KeyCache;
|
2022-04-25 10:56:47 -04:00
|
|
|
pub use magic::buffer::ZeroCopyBuf;
|
2021-10-19 18:00:45 -04:00
|
|
|
pub use magic::bytestring::ByteString;
|
2022-04-02 07:35:57 -04:00
|
|
|
pub use magic::detached_buffer::DetachedBuffer;
|
2021-10-20 09:40:20 -04:00
|
|
|
pub use magic::string_or_buffer::StringOrBuffer;
|
2022-03-15 19:22:00 -04:00
|
|
|
pub use magic::u16string::U16String;
|
2022-06-18 23:09:11 -04:00
|
|
|
pub use magic::Global;
|
2021-10-19 18:00:45 -04:00
|
|
|
pub use magic::Value;
|
|
|
|
pub use ser::{to_v8, Serializer};
|
|
|
|
pub use serializable::{Serializable, SerializablePkg};
|