I have a Wallet class, and wallet is an instance of this class.
I had to JSON.stringify(wallet) it save in a file. Now, when I do JSON.parse(JSON.stringify(wallet)) then it is no more an instanceof Wallet.
How to convert this plain object from JSON.parse to intanceof Wallet ?