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