README.md

# gleerup

[![Package Version](https://img.shields.io/hexpm/v/gleerup)](https://hex.pm/packages/gleerup)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/gleerup/)

```sh
gleam add gleerup@1
```
```gleam
import gleerup

pub fn main() -> Nil {
  let input = <<"{7\"another[1+2+3+]3\"age30+4\"name5\"Alice7\"isAlivet}">>
  let result = bitty.run(parser.value(), input) |> default_value

  assert gleerup.Dictionary(
      dict.from_list([
        #(gleerup.String("age"), gleerup.PositiveInteger(30)),
        #(gleerup.String("name"), gleerup.String("Alice")),
        #(gleerup.String("isAlive"), gleerup.Boolean(True)),
        #(
          gleerup.String("another"),
          gleerup.Sequence([
            gleerup.PositiveInteger(1),
            gleerup.PositiveInteger(2),
            gleerup.PositiveInteger(3),
          ]),
        ),
      ]),
    )
    == result
}
```

Further documentation can be found at <https://hexdocs.pm/gleerup>.

## Development

```sh
gleam run   # Run the project
gleam test  # Run the tests
```