Sha256: aae5a3a528bb0373bb120872051fbac55f594d2c0af77c2db42a7e147a30c5ff
Contents?: true
Size: 341 Bytes
Versions: 13
Compression:
Stored size: 341 Bytes
Contents
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../..') $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../../lib') require 'yajl' require 'stringio' unless string = ARGV[0] puts "\nUsage: ruby examples/from_string.rb '{\"foo\": 1145}'\n\n" exit(0) end hash = Yajl::Parser.parse(string) puts hash.inspect
Version data entries
13 entries across 13 versions & 4 rubygems