File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -596,8 +596,9 @@ private void GenerateFromTemplate()
596
596
// Compile the template, and merge it with the metadata.
597
597
var template = Handlebars . Compile ( localRichTextBoxGenerationTemplate . Text ) ;
598
598
599
- //string serializedMapping = System.Text.Json.JsonSerializer.Serialize(dataObjectMappingList);
600
- string jsonInput = File . ReadAllText ( dataObjectMappingList . metadataFileName ) ;
599
+ //string jsonInput = File.ReadAllText(dataObjectMappingList.metadataFileName);
600
+
601
+ var jsonInput = System . Text . Json . JsonSerializer . Serialize ( dataObjectMappingList ) ;
601
602
JsonNode deserializedMapping = System . Text . Json . JsonSerializer . Deserialize < JsonNode > ( jsonInput ) ;
602
603
603
604
var result = template ( deserializedMapping ) ;
You can’t perform that action at this time.
0 commit comments