Class: Swagger::Parsers::JSONParser

Inherits:
Object
  • Object
show all
Defined in:
lib/swagger/parsers.rb

Overview

Parses JSON content

Class Method Summary collapse

Class Method Details

.parse(content) ⇒ Hash

Parses a JSON document



33
34
35
# File 'lib/swagger/parsers.rb', line 33

def self.parse(content)
  JSON.parse(content)
end