Skip to main content

json_to_rb_value

Function json_to_rb_value 

Source
pub fn json_to_rb_value(ruby: &Ruby, value: &Value) -> Result<Value, Error>
Expand description

Converts a serde_json::Value to a Ruby value.

§Arguments

  • ruby - Ruby runtime handle.
  • value - JSON value to convert.

§Returns

A Ruby Value representing the JSON value.