Method: GraphQL::Schema#to_json
- Defined in:
- lib/graphql/schema.rb
#to_json(*args) ⇒ String
Returns the JSON response of Introspection::INTROSPECTION_QUERY.
563 564 565 |
# File 'lib/graphql/schema.rb', line 563 def to_json(*args) JSON.pretty_generate(as_json(*args)) end |