PHP 8.2.31
Preview: encode-i.yaml Size: 593 B
//proc/thread-self/root/opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Utils/OkJson/encode-i.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Encodes x into a json text. It may contain only Array, Hash, String, Numeric, true, false, nil. (Note, this list excludes Symbol.) X itself must be an Array or a Hash. No other value can be encoded, and an error will be raised if x contains any other value, such as Nan, Infinity, Symbol, and Proc, or if a Hash key is not a String. Strings contained in x must be valid UTF-8.
full_name: Rack::Utils::OkJson#encode
is_singleton: false
name: encode
params: (x)
visibility: public

Directory Contents

Dirs: 2 × Files: 4

Name Size Perms Modified Actions
Error DIR
- drwxr-xr-x 2024-03-03 22:50:09
Edit Download
Utf8Error DIR
- drwxr-xr-x 2024-03-03 22:50:09
Edit Download
2.09 KB lrw-r--r-- 2019-12-05 22:14:00
Edit Download
479 B lrw-r--r-- 2019-12-05 22:14:00
Edit Download
593 B lrw-r--r-- 2019-12-05 22:14:00
Edit Download
180 B lrw-r--r-- 2019-12-05 22:14:00
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).