pub fn format_json(
  file_text: &str,
  fmt_options: &FmtOptionsConfig,
) -> Result<Option<String>, AnyError> {
  let config = get_resolved_json_config(fmt_options);
  dprint_plugin_json::format_text(file_text, &config)
}
/// Formats JSON and JSONC using the rules provided by .deno()
/// of configuration builder of <https://github.com/dprint/dprint-plugin-json>.
/// See <https://github.com/dprint/dprint-plugin-json/blob/cfa1052dbfa0b54eb3d814318034cdc514c813d7/src/configuration/builder.rs#L87> for configuration.
Formats JSON and JSONC using the rules provided by .deno()
of configuration builder of .
See  for configuration.
Formats JSON and JSONC using the rules provided by . deno () of configuration builder of . See for configuration .
pub fn format_json(
  file_text: &str,
  fmt_options: &FmtOptionsConfig,
) -> Result<Option<String>, AnyError> {
  let config = get_resolved_json_config(fmt_options);
  dprint_plugin_json::format_text(file_text, &config)
}
pub fn format_json ( file_text : & str , fmt_options : & FmtOptionsConfig , ) -> Result < Option < String > , AnyError > { let config = get_resolved_json_config ( fmt_options ) ; dprint_plugin_json :: format_text ( file_text , & config ) }
Formats JSON and JSONC using the rules provided by .deno()
of configuration builder of <https://github.com/dprint/dprint-plugin-json>.
Formats JSON and JSONC using the rules provided by . deno () of configuration builder of <https : // github . com / dprint / dprint - plugin - json > .
file_text
&str
fmt_options
&FmtOptionsConfig
file_text
&str
fmt_options
&FmtOptionsConfig