Skip to main content

Module util

Module util 

Source
Expand description

Utility functions for Ruby-Rust data conversion.

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

Functionsยง

json_to_rb_value
Converts a serde_json::Value to a Ruby value.
rb_hash_to_json
Converts a Ruby hash to a serde_json::Value::Object.
rb_value_to_json
Converts a Ruby value to a serde_json::Value.