Method: Sfn::Utils::JSON#_from_json

Defined in:
lib/sfn/utils/json.rb

#_from_json(thing) ⇒ Object Also known as: load_json

Load JSON data

Parameters:

  • thing (String)

Returns:

  • (Object)


23
24
25
# File 'lib/sfn/utils/json.rb', line 23

def _from_json(thing)
  MultiJson.load(thing)
end