diff LazyBear/Global functions/ParseJSON.swift @ 417:5f21f7c23c5e

Add comments and clean code
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Fri, 11 Jun 2021 11:37:42 +0200
parents 5ccceb527178
children
line wrap: on
line diff
--- a/LazyBear/Global functions/ParseJSON.swift	Wed Jun 09 20:26:28 2021 +0200
+++ b/LazyBear/Global functions/ParseJSON.swift	Fri Jun 11 11:37:42 2021 +0200
@@ -8,6 +8,9 @@
 import Foundation
 
 
+/*
+ Read JSON File
+ */
 func parseJSON<T: Decodable>(_ filename: String) -> T {
     let data: Data