module Bake::Format::JSON
Constants
- OPTIONS
Public Class Methods
Source
# File vendor/bundle/ruby/3.4.0/gems/bake-0.23.1/lib/bake/format/json.rb, line 11 def self.input(file) ::JSON.load(file) end
Source
# File vendor/bundle/ruby/3.4.0/gems/bake-0.23.1/lib/bake/format/json.rb, line 17 def self.output(file, value) ::JSON::State.generate(value, OPTIONS, file) file.puts end