lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_funding.rb in adiwg-mdtranslator-2.18.4 vs lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_funding.rb in adiwg-mdtranslator-2.19.0.pre.beta.7

- old
+ new

@@ -18,12 +18,12 @@ @Namespace = ADIWG::Mdtranslator::Writers::MdJson def self.build(hFunding) Jbuilder.new do |json| - json.description hFunding[:description] - json.timePeriod TimePeriod.build(hFunding[:timePeriod]) unless hFunding[:timePeriod].empty? json.allocation @Namespace.json_map(hFunding[:allocations], Allocation) + json.timePeriod TimePeriod.build(hFunding[:timePeriod]) unless hFunding[:timePeriod].empty? + json.description hFunding[:description] end end # build end # Funding