Sha256: 2a07d4b7e0ef634ff2cb144a133f12ba00ca6e098d5dc01f636a385aee9a9f44

Contents?: true

Size: 197 Bytes

Versions: 43

Compression:

Stored size: 197 Bytes

Contents

require 'json'

module JSON
  def self.pretty_parse(string)
    parse(string)
  rescue => e
    raise JSON::ParserError, "Invalid JSON #{string}:\n\t#{e.message.force_encoding('utf-8')}"
  end
end

Version data entries

43 entries across 43 versions & 2 rubygems

Version Path
mumukit-content-type-1.12.1 vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.2/lib/mumukit/core/json.rb
mumukit-core-1.19.2 lib/mumukit/core/json.rb
mumukit-core-1.20.0 lib/mumukit/core/json.rb
mumukit-content-type-1.12.0 vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/json.rb
mumukit-core-1.19.1 lib/mumukit/core/json.rb
mumukit-core-1.19.0 lib/mumukit/core/json.rb
mumukit-content-type-1.11.1 vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/json.rb
mumukit-core-1.18.0 lib/mumukit/core/json.rb
mumukit-core-1.17.0 lib/mumukit/core/json.rb
mumukit-core-1.16.0 lib/mumukit/core/json.rb
mumukit-core-1.15.0 lib/mumukit/core/json.rb
mumukit-core-1.14.0 lib/mumukit/core/json.rb
mumukit-core-1.13.0 lib/mumukit/core/json.rb
mumukit-core-1.12.0 lib/mumukit/core/json.rb
mumukit-core-1.11.0 lib/mumukit/core/json.rb
mumukit-core-1.10.1 lib/mumukit/core/json.rb
mumukit-core-1.10.0 lib/mumukit/core/json.rb
mumukit-core-1.9.0 lib/mumukit/core/json.rb
mumukit-core-1.8.0 lib/mumukit/core/json.rb
mumukit-core-1.7.0 lib/mumukit/core/json.rb