Module util

Module util 

Source
Expand description

This module provides abstractions for serializing and deserializing data into various formats, specifically JSON strings and byte arrays.

These traits are implemented using the derive macros found in ./glue_derive and SHOULD NOT be implemented manually.

The crate includes the following traits:

  • JsonSerializeDeserialize: For serializing and deserializing types to and from JSON strings.
  • ByteArraySerializeDeserialize: For serializing and deserializing types to and from byte arrays.

Traitsยง

ByteArraySerializeDeserialize
A trait for types that can be serialized to and deserialized from byte arrays.
JsonSerializeDeserialize
A trait for types that can be serialized to and deserialized from JSON format.