Project

General

Profile

Bug #10317 » space_before.rb

simple script to reproduce the issue - mmacvicar (Michael Mac-Vicar), 10/02/2014 02:03 PM

 
require 'json'
state = JSON::Ext::Generator::State.new( space_before: "bef_delim", space: "aft_delim")
puts JSON.generate({'1' => 2},state)
(1-1/2)