httpx/sig/transcoder/json.rbs
2022-08-13 16:34:02 +01:00

27 lines
545 B
Plaintext

module HTTPX::Transcoder
module JSON
JSON_REGEX: Regexp
def self?.encode: (_ToJson json) -> Encoder
def self?.decode: (HTTPX::Response response) -> _Decoder
def self?.json_load: (string source, ?json_options) -> untyped
def self?.json_dump: (_ToJson obj, *untyped) -> String
class Encoder
extend Forwardable
include _Encoder
include _ToS
@raw: String
@charset: String
def content_type: () -> String
private
def initialize: (_ToJson json) -> void
end
end
end