Module: FHIR::InstanceJson

Included in:
Json, R4::Json, R4B::Json, R5::Json
Defined in:
lib/fhir_models/bootstrap/json.rb

Instance Method Summary collapse

Instance Method Details

#to_json(opts = nil) ⇒ Object



26
27
28
# File 'lib/fhir_models/bootstrap/json.rb', line 26

def to_json(opts = nil)
  JSON.pretty_generate(to_hash, opts)
end