Method: JSON.create_pretty_state

Defined in:
lib/json/common.rb

.create_pretty_stateObject



90
91
92
93
94
95
96
97
# File 'lib/json/common.rb', line 90

def create_pretty_state
  State.new(
    :indent         => '  ',
    :space          => ' ',
    :object_nl      => "\n",
    :array_nl       => "\n"
  )
end