module Geojsonlint

Constants

VERSION

Public Class Methods

validate(geojson) click to toggle source

Validates a geojson object @param geojson [String, Hash] a JSON string or a Ruby object representing JSON data

@return [Geojson]

# File lib/geojsonlint.rb, line 62
def validate(geojson)
  Parser.new(geojson).run
end

Private Instance Methods

validate(geojson) click to toggle source

Validates a geojson object @param geojson [String, Hash] a JSON string or a Ruby object representing JSON data

@return [Geojson]

# File lib/geojsonlint.rb, line 62
def validate(geojson)
  Parser.new(geojson).run
end