Sha256: 2c755bce6688af123e3dea92b5a84a156b84e813e0c290e27f07c7ab65e83bdd

Contents?: true

Size: 193 Bytes

Versions: 1

Compression:

Stored size: 193 Bytes

Contents

require 'json'

module Typekit
  module Parser
    class JSON
      def process(data)
        ::JSON.parse(data)
      rescue
        raise Error, 'Unable to parse'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
typekit-client-0.0.2 lib/typekit/parser/json.rb