Module serialization

Module serialization 

Source

Re-exports§

pub use json::safe_integer::json_safe_i64;
pub use json::safe_integer::json_safe_option_i64;
pub use json::safe_integer::json_safe_option_u64;
pub use json::safe_integer::json_safe_u64;
pub use json::JsonSafeFields;

Modules§

json
Compile-safe JSON serialization for large integers (u64/i64).

Traits§

JsonConvertible
Convert to/from JSON using human-readable serde (Identifier=base58, Bytes=base64).
PlatformDeserializable
PlatformDeserializableFromVersionedStructure
PlatformDeserializableWithBytesLenFromVersionedStructure
PlatformDeserializableWithPotentialValidationFromVersionedStructure
PlatformLimitDeserializableFromVersionedStructure
PlatformMessageSignable
PlatformSerializable
PlatformSerializableWithPlatformVersion
Signable
ValueConvertible

Attribute Macros§

json_safe_fields
Attribute macro that adds #[serde(with = "...")] to u64/i64 fields and implements JsonSafeFields for the type (when used inside the dpp crate).

Derive Macros§

JsonConvertible
Derive macro that generates impl JsonConvertible for Type {} with compile-time assertions that all inner types implement JsonSafeFields.
ValueConvertible
Derive macro that generates impl ValueConvertible for Type {}.