src/functions/questions_verifier.rb
def parse_questions(body)
  if body
    begin
      JSON.parse(body)
    rescue JSON::ParseError
      nil
    end
  else
    nil
  end
end
# Function for parsing the information obtained by the body
Function for parsing the information obtained by the body
Function for parsing the information obtained by the body
def parse_questions(body)
  if body
    begin
      JSON.parse(body)
    rescue JSON::ParseError
      nil
    end
  else
    nil
  end
end
def parse_questions ( body ) if body begin JSON . parse ( body ) rescue JSON :: ParseError nil end else nil end end
Function for parsing the information obtained by the body
Function for parsing the information obtained by the body
body