D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby19
/
lib64
/
ruby
/
gems
/
1.9.1
/
doc
/
rack-1.6.4
/
ri
/
Rack
/
Utils
/
OkJson
/
Filename :
encode-i.ri
back
Copy
U:RDoc::AnyMethod[iI"encode:EFI"Rack::Utils::OkJson#encode;FF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"4Encodes x into a json text. It may contain only;FI"4Array, Hash, String, Numeric, true, false, nil.;FI"'(Note, this list excludes Symbol.);FI")X itself must be an Array or a Hash.;FI"5No other value can be encoded, and an error will;FI"5be raised if x contains any other value, such as;FI"6Nan, Infinity, Symbol, and Proc, or if a Hash key;FI"is not a String.;FI"0Strings contained in x must be valid UTF-8.;F: @file000[ I"(x);FI"lib/rack/utils/okjson.rb;F