# Blazon
[](https://travis-ci.org/mtwilliams/blazon)
[](https://coveralls.io/github/mtwilliams/blazon)
[](http://inch-ci.org/github/mtwilliams/blazon)
[](https://hex.pm/packages/blazon)
Blazon allows you to quickly build abstract serializers in a declarative fashion. Expose complex object hierarchies in JSON, XML, UBF, or whatever!
## Example
```elixir
defmodule Person.Serializer do
  use Blazon.Serializable
  field :name
  field :title
  field :age
end
Blazon.json(Person.Serializer, %{name: "John Cleese", title: "Minister of Silly Walks", age: 42}, except: ~w(age)a)
```
## Usage
### First Steps
...
### Embedding
...
### Is Blazon production ready?
No. But will be very soon.
## Installation
  1. Add `blazon` to your list of dependencies in `mix.exs`:
  ```elixir
  def deps do
    [{:blazon, "~> 0.0.1"}]
  end
  ```
  2. Drink your :tea:
  3. That's it!