[
    {
        "name": "Csv",
        "comment": " A CSV parser that supports different separators, and quoted fields.\nThe results are provided as lists.\n\n## Definitions\n@docs Csv\n\n## Parsing functions\n@docs parseWith, parse, split, splitWith\n",
        "unions": [],
        "aliases": [
            {
                "name": "Csv",
                "comment": " The `Csv` type structure.\n",
                "args": [],
                "type": "{ headers : List String, records : List (List String) }"
            }
        ],
        "values": [
            {
                "name": "parse",
                "comment": " Convert a string of comma-separated values into a `Csv` structure.\n\n    >>> parse \"id,value\\n1,one\\n2,two\\n\"\n    {\n      headers = [\"id\", \"value\"],\n      records = [\n                    [\"1\", \"one\"],\n                    [\"2\", \"two\"]\n                ]\n    }\n\nValues that contain the character ',' can be quoted\n\n    >>> parse \"id,value\\n\\\"1,2,3\\\",\\\"one,two,three\\\"\\n\"\n    {\n      headers = [\"id\", \"value\"],\n      records = [\n                    [\"1,2,3\", \"one,two,three\"]\n                ]\n    }\n\nDouble quotes can be escaped with a backslash or a second quote\n\n    >>> parse \"value\\n,Here is a quote:\\\"\\\"\\nAnother one:\\\\\\\"\\n\"\n    {\n      headers = [\"value\"],\n      records = [\n                    [\"Here is a quote:\\\"\"],\n                    [\"Another one:\\\"\"]\n                ]\n    }\n",
                "type": "String -> Csv"
            },
            {
                "name": "parseWith",
                "comment": " Convert a string of values separated by a *separator* into a `Csv` structure.\n\n    >>> parseWith \";\" \"id;value\\n1;one\\n2;two\\n\"\n    {\n      headers = [\"id\", \"value\"],\n      records = [\n                    [\"1\", \"one\"],\n                    [\"2\", \"two\"]\n                ]\n    }\n",
                "type": "String -> String -> Csv"
            },
            {
                "name": "split",
                "comment": " Convert a string of comma-separated values into a list of lists.\n\n    >>> split \"id,value\\n1,one\\n2,two\\n\"\n    [[\"id\", \"value\"], [\"1\", \"one\"], [\"2\", \"two\"]]\n",
                "type": "String -> List (List String)"
            },
            {
                "name": "splitWith",
                "comment": " Convert a string of values separated by a character into a list of lists.\n\n    >>> splitWith \",\" \"id,value\\n1,one\\n2,two\\n\"\n    [[\"id\", \"value\"], [\"1\", \"one\"], [\"2\", \"two\"]]\n",
                "type": "String -> String -> List (List String)"
            }
        ],
        "binops": []
    }
]