README.md

# Retroper

**The project to convert JSON/XML/`Estructura.Aston` back and forth, and resend the reshaped result to clients**

### JSON Format

_JSON_ is supposed to be in the format which allows isomorphic convertion to _XML_. That would be

```json
{
  "name":"value",
  "attributes":{"attr_name":"attr_value"},
  "content":[
    {"name": …, …}
  ]
}
```

If some additional attributes are to be sent within the payload, the above might be placed under `"data":` or `"payload":` keys. 

### Installation

```elixir
def deps do
  [
    {:retroper, "~> 0.1"}
  ]
end
```

### [Documentation](https://kantox.hexdocs.pm/retroper)