SmokeTest v0.1.1 SmokeTest.Adapters.JSONEncoder.Poison View Source
A Posion-baed JSON encoder for SmokeTest.
To use, add Poison to your mix.exs dependencies:
def deps do
[{:poison, "~> 3.0"}]
end
Then, update your dependencies:
$ mix deps.get
The adapter will automatically be picked up and used by SmokeTest, unless explicitly configured for another adapter. If you want to manually add this parser to the configuration, simply include the following:
config :your_app, SmokeTest
json_encoder: SmokeTest.Adapters.JSONEncoder.Poison
Link to this section Summary
Functions
encodes a value into JSON
Link to this section Functions
encodes a value into JSON.