File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -595,13 +595,12 @@ private void GenerateFromTemplate()
595
595
{
596
596
// Compile the template, and merge it with the metadata.
597
597
var template = Handlebars . Compile ( localRichTextBoxGenerationTemplate . Text ) ;
598
+ var result = template ( dataObjectMappingList ) ;
598
599
599
600
//string jsonInput = File.ReadAllText(dataObjectMappingList.metadataFileName);
600
-
601
- var jsonInput = System . Text . Json . JsonSerializer . Serialize ( dataObjectMappingList ) ;
602
- JsonNode deserializedMapping = System . Text . Json . JsonSerializer . Deserialize < JsonNode > ( jsonInput ) ;
603
-
604
- var result = template ( deserializedMapping ) ;
601
+ //var jsonInput = System.Text.Json.JsonSerializer.Serialize(dataObjectMappingList);
602
+ //JsonNode deserializedMapping = System.Text.Json.JsonSerializer.Deserialize<JsonNode>(jsonInput);
603
+ //var result = template(deserializedMapping);
605
604
606
605
// Check if the metadata needs to be displayed.
607
606
if ( DisplayJsonFlag )
You can’t perform that action at this time.
0 commit comments