Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I know... I should not bring a Monk to a shootout... But I have to try and see if I can convince people that violence is not everything. 😉👊
EVReflection is a reflection base json mapper. Like almost any other library it's using JSONSerialization.jsonObject to create a dictionary from the json but instead of creating a manual mapping for serializing and deserializing it is using Mirror for getting data from an object and it's using setValue forKey for setting the properties.
Yes, this power comes with a costs. Reflection based object mapping is much slower. It's even 10 times slower than the libraries currently tested in this shootout.
Here are the test results on my MacBook:
P.S. Since the setValue forKey does not work on structs I added 2 almost identical classes for this.
P.S 2 I have no idea how you could put EVReflection in your readme.md.