instance method JSON::State#buffer_initial_length=

buffer_initial_length=(length)[permalink][rdoc]

This sets the initial length of the buffer to length, if length > 0, otherwise its value isn't changed.