⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
JSON
/
Edit File: generate-i.ri
U:RDoc::AnyMethod[iI" generate:ETI"JSON#generate;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"LGenerate a JSON document from the Ruby data structure _obj_ and return ;TI"+it. _state_ is * a JSON::State object,;To:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I"3or a Hash like object (responding to to_hash),;To;;0; [o; ; [I"8an object convertible into a hash by a to_h method,;To; ; [I"4that is used as or to configure a State object.;To:RDoc::Markup::BlankLine o; ; [I"QIt defaults to a state object, that creates the shortest possible JSON text ;TI"Min one line, checks for circular data structures and doesn't allow NaN, ;TI"Infinity, and -Infinity.;T@o; ; [I"0A _state_ hash can have the following keys:;To;;; ;[o;;0; [o; ; [I"<*indent*: a string used to indent levels (default: ''),;To;;0; [o; ; [I"K*space*: a string that is put after, a : or , delimiter (default: ''),;To;;0; [o; ; [I"R*space_before*: a string that is put before a : pair delimiter (default: ''),;To;;0; [o; ; [I"Q*object_nl*: a string that is put at the end of a JSON object (default: ''),;To;;0; [o; ; [I"O*array_nl*: a string that is put at the end of a JSON array (default: ''),;To;;0; [o; ; [I"A*allow_nan*: true if NaN, Infinity, and -Infinity should be ;TI"Egenerated, otherwise an exception is thrown if these values are ;TI"1encountered. This options defaults to false.;To;;0; [o; ; [I"E*max_nesting*: The maximum depth of nesting allowed in the data ;TI"Kstructures from which JSON is to be generated. Disable depth checking ;TI"4with :max_nesting => false, it defaults to 100.;T@o; ; [I"OSee also the fast_generate for the fastest creation method with the least ;TI"Famount of sanity checks, and the pretty_generate method for some ;TI" defaults for pretty output.;T: @fileI" ext/json/lib/json/common.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(obj, opts = nil);T@UFI" JSON;TcRDoc::NormalModule00
Simpan