class Nocode::Steps::Deserialize::Json
take a specified register and parse it as JSON to produce Ruby object(s).
Public Instance Methods
perform()
click to toggle source
# File lib/nocode/steps/deserialize/json.rb, line 10 def perform input = registers[register_option] registers[register_option] = JSON.parse(input) end