Module util

Module util 

Source
Expand description

Utility functions for Python-Rust data conversion.

This module provides helper functions for converting between Python objects and Rust data structures, particularly for working with JSON-like data.

Functionsยง

pyany_to_value
Converts a Python object to a serde_json::Value.
pydict_to_value
Converts a Python dictionary to a serde_json::Value.
value_to_pydict
Converts a serde_json::Value to a Python object.