Sha256: 0eea0da52cbf4ccf1f1159db0c8e54234d6ada8891f39a001d0f083cf657c644

Contents?: true

Size: 497 Bytes

Versions: 4

Compression:

Stored size: 497 Bytes

Contents

# frozen_string_literal: true

require_relative "json/safe_parse"

module ConvenientService
  module Examples
    module Standard
      module V1
        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
end

Version data entries

4 entries across 4 versions & 1 rubygems

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