Method: RTree#json_write

Defined in:
lib/rtree.rb

#json_write(io_arg) ⇒ self

Serialise to JSON

Examples:

Write to file

rtree.json_write('rtree.json')

See Also:



420
421
422
423
# File 'lib/rtree.rb', line 420

def json_write(io_arg)
  RTree::IOUtil.io_with_mode(io_arg, 'w') { |io| super(io) }
  self
end