w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
  • Bulletin
  • Posts
doc_ruby_on_rails
doc_ruby_on_rails


indent=

indent=(indent) Instance Public methods This string is used to indent levels in the JSON text.

indent

indent() Instance Public methods This string is used to indent levels in the JSON text.

generate

generate(obj) Instance Public methods Generates a valid JSON document from object obj and returns the result. If no valid JSON document can be created this method raises a GeneratorError exception.

depth=

depth=(depth) Instance Public methods This sets the maximum level of data structure nesting in the generated JSON to the integer depth, #max_nesting = 0 if no maximum should be checked.

depth

depth Instance Public methods This integer returns the current depth of data structure nesting.

configure

configure(opts) Instance Public methods Configure this State instance with the Hash opts, and return itself. merge

check_circular?

check_circular? Instance Public methods Returns true, if circular data structures should be checked, otherwise returns false.

buffer_initial_length=

buffer_initial_length=(length) Instance Public methods This sets the initial length of the buffer to length, if length > 0, otherwise its value isn't changed.

buffer_initial_length

buffer_initial_length Instance Public methods This integer returns the current inital length of the buffer.

ascii_only?

ascii_only? Instance Public methods Returns true, if NaN, Infinity, and -Infinity should be generated, otherwise returns false.

Page 1814 of 2275

|< < Prev 1811 1812 1813 1814 1815 1816 1817 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions