D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby22
/
lib64
/
ruby
/
gems
/
2.2.0
/
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;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"5Encodes x into a json text. It may contain only ;TI"5Array, Hash, String, Numeric, true, false, nil. ;TI"((Note, this list excludes Symbol.) ;TI"*X itself must be an Array or a Hash. ;TI"6No other value can be encoded, and an error will ;TI"6be raised if x contains any other value, such as ;TI"7Nan, Infinity, Symbol, and Proc, or if a Hash key ;TI"is not a String. ;TI"0Strings contained in x must be valid UTF-8.;T: @fileI"lib/rack/utils/okjson.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(x);T@FI"OkJson;FcRDoc::NormalModule00