Sha256: 711951f2ad311ef78c113f806ffdd3af362e3ad035c0ab0ff01c134899dc7a57

Contents?: true

Size: 545 Bytes

Versions: 21

Compression:

Stored size: 545 Bytes

Contents

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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
httpx-0.24.7 sig/transcoder/json.rbs
httpx-0.24.6 sig/transcoder/json.rbs
httpx-0.24.5 sig/transcoder/json.rbs
httpx-0.24.4 sig/transcoder/json.rbs
httpx-0.24.3 sig/transcoder/json.rbs
httpx-0.24.2 sig/transcoder/json.rbs
httpx-0.24.1 sig/transcoder/json.rbs
httpx-0.24.0 sig/transcoder/json.rbs
httpx-0.23.4 sig/transcoder/json.rbs
httpx-0.23.3 sig/transcoder/json.rbs
httpx-0.23.2 sig/transcoder/json.rbs
httpx-0.23.1 sig/transcoder/json.rbs
httpx-0.23.0 sig/transcoder/json.rbs
httpx-0.22.5 sig/transcoder/json.rbs
httpx-0.22.4 sig/transcoder/json.rbs
httpx-0.22.3 sig/transcoder/json.rbs
httpx-0.22.2 sig/transcoder/json.rbs
httpx-0.22.1 sig/transcoder/json.rbs
httpx-0.22.0 sig/transcoder/json.rbs
httpx-0.21.1 sig/transcoder/json.rbs