Sha256: 99ee8ee7945c6c106392205e50c335f18c0a3be25bced9151bd207356b752be3

Contents?: true

Size: 449 Bytes

Versions: 5

Compression:

Stored size: 449 Bytes

Contents

# frozen_string_literal: true

require_relative "json/safe_parse"

module ConvenientService
  module Examples
    module Standard
      class RequestParams
        module Utils
          module JSON
            class << self
              def safe_parse(json_string, default_value: nil)
                SafeParse.call(json_string, default_value: default_value)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
convenient_service-0.17.0 lib/convenient_service/examples/standard/request_params/utils/json.rb
convenient_service-0.16.0 lib/convenient_service/examples/standard/request_params/utils/json.rb
convenient_service-0.15.0 lib/convenient_service/examples/standard/request_params/utils/json.rb
convenient_service-0.14.0 lib/convenient_service/examples/standard/request_params/utils/json.rb
convenient_service-0.13.0 lib/convenient_service/examples/standard/request_params/utils/json.rb