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: root.rs
    path of file: ./repos/tools/crates/rome_json_formatter/src/json/auxiliary
    
    the code of the file until where you have to start completion: use crate::prelude::*;
use rome_formatter::write;
use rome_json_syntax::{JsonRoot, JsonRootFields};

#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsonRoot;

impl FormatNodeRule<JsonRoot> for FormatJsonRoot {
    fn fmt_fields(&self, node: &JsonRoot, f: &mut JsonFormatter) -> FormatResult<()> {
        let JsonRootFields { value, eof_token } = node.as_fields();

        match &value {
            Ok(value) => {
    
    
    fn fmt_fields(&self, node: &JsonRoot, f: &mut JsonFormatter) -> FormatResult<()> {
        let JsonRootFields { value, eof_token } = node.as_fields();

        match &value {
            Ok(value) => {
                write!(
                    f,
                    [
                        format_or_verbatim(value.format()),
                        format_removed(&eof_token?),
                        hard_line_break()
                    ]
                )
            }
            // Don't fail formatting if the root contains no root value
            Err(_) => {
                write!(f, [format_verbatim_node(node.syntax())])
            }
        }
    }