Crawly.Pipelines.JSONEncoder (Crawly v0.17.2) View Source

Encodes a given item (map) into JSON

No options are available for this pipeline.

Example Declaration

pipelines: [
  Crawly.Pipelines.JSONEncoder
]

Example Usage

  iex> JSONEncoder.run(%{my: "field"}, %{})
  {"{"my":"field"}", %{}}