Sha256: 457622f45e8f0f91069d3cf907f2318c277fbadecd7a633f293d071d81f51ebb

Contents?: true

Size: 249 Bytes

Versions: 22

Compression:

Stored size: 249 Bytes

Contents

# frozen_string_literal: true

require 'json'

module JWT
  # JSON wrapper
  class JSON
    class << self
      def generate(data)
        ::JSON.generate(data)
      end

      def parse(data)
        ::JSON.parse(data)
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
jwt-2.9.3 lib/jwt/json.rb
jwt-2.9.2 lib/jwt/json.rb
jwt-2.9.1 lib/jwt/json.rb
jwt-2.9.0 lib/jwt/json.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/jwt-2.8.2/lib/jwt/json.rb
jwt-2.8.2 lib/jwt/json.rb
jwt-2.8.1 lib/jwt/json.rb
jwt-2.8.0 lib/jwt/json.rb
jwt-2.7.1 lib/jwt/json.rb
fluent-plugin-google-cloud-logging-on-prem-0.1.0 vendor/ruby/3.1.0/gems/jwt-2.7.0/lib/jwt/json.rb
jwt-2.7.0 lib/jwt/json.rb
jwt-2.6.0 lib/jwt/json.rb
jwt-2.5.0 lib/jwt/json.rb
jwt-2.4.1 lib/jwt/json.rb
jwt-2.4.0 lib/jwt/json.rb
jwt-2.4.0.beta1 lib/jwt/json.rb
jwt-2.3.0 lib/jwt/json.rb
jwt-2.2.3 lib/jwt/json.rb
jwt-2.2.2 lib/jwt/json.rb
jwt-2.2.1 lib/jwt/json.rb