You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: json_functions.rs
    path of file: ./repos/dozer/dozer-sql/src/expression/tests
    
    the code of the file until where you have to start completion: use crate::expression::tests::test_common::run_fct;
use dozer_types::json_types::json;
use dozer_types::json_types::JsonValue;
use dozer_types::ordered_float::OrderedFloat;
use dozer_types::types::{Field, FieldDefinition, FieldType, Schema, SourceDefinition};

#[test]
fn test_json_value() {
    let json_val = json!(
        
    
fn test_json_value_diff_3() {
    let json_val = json!(
        { "x": [0,1], "y": "[0,1]", "z": "Monty" }
    );

    let mut f = run_fct(
        "SELECT JSON_QUERY(jsonInfo,'$.y') FROM users",
        Schema::default()
            .field(
                FieldDefinition::new(
                    String::from("jsonInfo"),
                    FieldType::Json,
                    false,
                    SourceDefinition::Dynamic,
                ),
                false,
            )
            .clone(),
        vec![Field::Json(json_val.clone())],
    );

    assert_eq!(f, Field::Json(JsonValue::NULL));

    f = run_fct(
        "SELECT JSON_VALUE(jsonInfo,'$.y') FROM users",
        Schema::default()
            .field(
                FieldDefinition::new(
                    String::from("jsonInfo"),
                    FieldType::Json,
                    false,
                    SourceDefinition::Dynamic,
                ),
                false,
            )
            .clone(),
        vec![Field::Json(json_val)],
    );

    assert_eq!(f, Field::Json("[0,1]".into()));
}