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.21.0 sig/transcoder/json.rbs