started Task 3

This commit is contained in:
schrom01
2022-10-20 12:53:02 +02:00
parent 749fe3a3fb
commit 05bda05ad7
3 changed files with 24 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
function parseToProto(json, proto){
return Object.assign(Object.create(proto), JSON.parse(json))
}
module.exports = { parseToProto}