diff --git a/README.md b/README.md index 2de1dc0..8dc12e3 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ let jsonified = JSON.stringify(serialized); //JSON string // Deserialization let objectified = JSON.parse(jsonified); //Generic Object -let deserialized = Serializer.deserialize(objectified); //Instance object +let deserialized = Serializer.unserialize(objectified); //Instance object obj.constructor === deserialized.constructor // TRUE @@ -64,4 +64,4 @@ Use this library at your own risk. ## License -MIT \ No newline at end of file +MIT