Home / Function/ test_json_pre_processor() — tailwindcss Function Reference

test_json_pre_processor() — tailwindcss Function Reference

Architecture documentation for the test_json_pre_processor() function in json.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  5bf957ac_8c2e_1183_565c_c2983b852f2f["test_json_pre_processor()"]
  98461823_e26d_bba9_a56a_e76d8b308f61["json.rs"]
  5bf957ac_8c2e_1183_565c_c2983b852f2f -->|defined in| 98461823_e26d_bba9_a56a_e76d8b308f61
  style 5bf957ac_8c2e_1183_565c_c2983b852f2f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/extractor/pre_processors/json.rs lines 55–62

    fn test_json_pre_processor() {
        let (input, expected) = (
            r#"[1,[2,[3,4,["flex flex-1 content-['hello_world']"]]], {"flex": true}]"#,
            r#" 1, 2, 3,4, "flex flex-1 content-['hello_world']"   ,  "flex": true  "#,
        );

        Json::test(input, expected);
    }

Domain

Subdomains

Frequently Asked Questions

What does test_json_pre_processor() do?
test_json_pre_processor() is a function in the tailwindcss codebase, defined in crates/oxide/src/extractor/pre_processors/json.rs.
Where is test_json_pre_processor() defined?
test_json_pre_processor() is defined in crates/oxide/src/extractor/pre_processors/json.rs at line 55.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free