Module common

Source

Functionsยง

deserialize_from_json
Deserializes a JSON string into the specified type with proper error handling.
get_hash_item
Retrieves a single value from a Redis hash and deserializes it into the specified type.
get_item
Retrieves a single value from a Redis key and deserializes it into the specified type.
get_items
Retrieves all values from a Redis hash and deserializes them into the specified type.
insert_items
Inserts multiple items into a Redis hash, serializing each item to JSON.
serialize_to_json
Serializes an item to a JSON string with proper error handling.