13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# File 'lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_evaluationMethod.rb', line 13
def self.build(hMethod)
Jbuilder.new do |json|
json.type hMethod[:type]
json.dateTime hMethod[:dateTime]
json.methodDescription hMethod[:methodDescription]
json.evaluationProcedure Citation.build(hMethod[:evaluationProcedure])
json.referenceDocument @Namespace.json_map(hMethod[:referenceDocument], Citation)
json.evaluationMethodType hMethod[:evaluationMethodType]
json.deductiveSource hMethod[:deductiveSource]
json.samplingScheme hMethod[:samplingScheme]
json.lotDescription hMethod[:lotDescription]
json.samplingRatio hMethod[:samplingRatio]
end
end
|