# File lib/json/add/core.rb, line 50
50:   def self.json_create(object)
51:     args = object.values_at('y', 'm', 'd', 'H', 'M', 'S')
52:     of_a, of_b = object['of'].split('/')
53:     if of_b and of_b != '0'
54:       args << Rational(of_a.to_i, of_b.to_i)
55:     else
56:       args << of_a
57:     end
58:     args << object['sg']
59:     civil(*args)
60:   end