~ K A L I ~
UNAME : Linux web62.extendcp.co.uk 4.18.0-553.58.1.el8_10.x86_64 #1 SMP Wed Jun 25 06:37:46 EDT 2025 x86_64SERVER IP : 10.0.187.62 -________-
CLIENT IP : 216.73.216.199 MINI SHELL D ZAB '
Current File : //usr/share/gems/gems/multi_json-1.13.1/lib/multi_json/adapters/json_common.rb |
require 'multi_json/adapter'
module MultiJson
module Adapters
class JsonCommon < Adapter
defaults :load, :create_additions => false, :quirks_mode => true
def load(string, options = {})
if string.respond_to?(:force_encoding)
string = string.dup.force_encoding(::Encoding::ASCII_8BIT)
end
options[:symbolize_names] = true if options.delete(:symbolize_keys)
::JSON.parse(string, options)
end
def dump(object, options = {})
options.merge!(::JSON::PRETTY_STATE_PROTOTYPE.to_h) if options.delete(:pretty)
object.to_json(options)
end
end
end
end
Coded by KALI :v Greetz to DR HARD ../ kali.zbi@hotmail.com