class Burner::Library::Deserialize::Json
Take a JSON string and deserialize into object(s).
Expected Payload input: string of JSON data. Payload output: anything, as specified by the JSON de-serializer.
Public Instance Methods
perform(_output, payload)
click to toggle source
# File lib/burner/library/deserialize/json.rb, line 18 def perform(_output, payload) payload[register] = JSON.parse(payload[register]) end