[
    {
        "name": "Xml.Decode",
        "comment": "\n\n@docs decode\n\n@docs decodeInt, decodeFloat, decodeString, decodeString, decodeBool\n\n@docs decodeChildren\n",
        "unions": [],
        "aliases": [],
        "values": [
            {
                "name": "decode",
                "comment": " Try to decode a string and turn it into an XML value\n    >>> import Xml.Encode exposing (Value(Tag, Object), null)\n    >>> import Dict\n    >>> decode \"<name></name>\"\n    Ok (Object [Tag \"name\" Dict.empty null])\n",
                "type": "String -> Result String Value"
            },
            {
                "name": "decodeBool",
                "comment": " Decode a bool\n",
                "type": "String -> Result String Value"
            },
            {
                "name": "decodeChildren",
                "comment": " Decode children from a string\n\n    >>> import Xml.Encode exposing (Value(Object, Tag, StrNode))\n    >>> decodeChildren \"<name>hello</name>\"\n    Ok (Object [Tag \"name\" Dict.empty (StrNode \"hello\")] )\n\n",
                "type": "String -> Result String Value"
            },
            {
                "name": "decodeFloat",
                "comment": " Decode a float\n    >>> import Xml.Encode exposing (Value(FloatNode))\n    >>> decodeFloat \"hello\"\n    Err \"could not convert string 'hello' to a Float\"\n\n    >>> decodeFloat \"5\"\n    Ok (FloatNode 5.0)\n\n    >>> decodeFloat \"5.5\"\n    Ok (FloatNode 5.5)\n\n",
                "type": "String -> Result String Value"
            },
            {
                "name": "decodeInt",
                "comment": " Decode a int\n    >>> import Xml.Encode exposing (Value(IntNode))\n    >>> decodeInt \"hello\"\n    Err \"could not convert string 'hello' to an Int\"\n\n    >>> decodeInt \"5\"\n    Ok (IntNode 5)\n",
                "type": "String -> Result String Value"
            },
            {
                "name": "decodeString",
                "comment": " Decode a string\n\n    >>> import Xml.Encode exposing (Value(StrNode))\n    >>> decodeString \"hello\"\n    Ok (StrNode \"hello\")\n",
                "type": "String -> Result String Value"
            }
        ],
        "binops": []
    },
    {
        "name": "Xml.Query",
        "comment": "\n\n# Search the parsed XML\n\n@docs tags, contains\n",
        "unions": [],
        "aliases": [],
        "values": [
            {
                "name": "contains",
                "comment": " check if a XML value contains another XML value\n",
                "type": "Value -> Value -> Bool"
            },
            {
                "name": "tags",
                "comment": " Search an XML value for any tags matching\n\n    >>> import Xml.Encode exposing (object, null, encode, Value(Tag, Object))\n    >>> import Dict\n    >>> object [ (\"name\", Dict.empty, null)] |> tags \"name\"\n    [Tag \"name\" Dict.empty (Object []) ]\n\n",
                "type": "String -> Value -> List Value"
            }
        ],
        "binops": []
    },
    {
        "name": "Xml.Encode",
        "comment": "\n@docs Value\n\n@docs encode\n\n@docs string, int, float, bool, object, null\n",
        "unions": [
            {
                "name": "Value",
                "comment": " Representation of the XML tree\n",
                "args": [],
                "cases": [
                    [
                        "Tag",
                        [
                            "String",
                            "Dict String Value",
                            "Value"
                        ]
                    ],
                    [
                        "StrNode",
                        [
                            "String"
                        ]
                    ],
                    [
                        "IntNode",
                        [
                            "Int"
                        ]
                    ],
                    [
                        "FloatNode",
                        [
                            "Float"
                        ]
                    ],
                    [
                        "BoolNode",
                        [
                            "Bool"
                        ]
                    ],
                    [
                        "Object",
                        [
                            "List Value"
                        ]
                    ],
                    [
                        "DocType",
                        [
                            "String",
                            "Dict String Value"
                        ]
                    ]
                ]
            }
        ],
        "aliases": [],
        "values": [
            {
                "name": "bool",
                "comment": " Encode an int\n",
                "type": "Bool -> Value"
            },
            {
                "name": "encode",
                "comment": " Take a value, then generate a string from it\n",
                "type": "Int -> Value -> String"
            },
            {
                "name": "float",
                "comment": " Encode an int\n",
                "type": "Float -> Value"
            },
            {
                "name": "int",
                "comment": " Encode an int\n",
                "type": "Int -> Value"
            },
            {
                "name": "null",
                "comment": " Empty contents\n",
                "type": "Value"
            },
            {
                "name": "object",
                "comment": " Encode an \"object\" (a tag)\n",
                "type": "List ( String, Dict String Value, Value ) -> Value"
            },
            {
                "name": "string",
                "comment": " Encode an XML string\n",
                "type": "String -> Value"
            }
        ],
        "binops": []
    }
]