Bunny83 / SimpleJSON

A simple JSON parser in C#
MIT License
735 stars 294 forks source link

JSONObject's indexer performance improvement #57

Open navidbigdeli54 opened 9 months ago

navidbigdeli54 commented 9 months ago

Changed JsonObject's indexer operator to use Dictionary.TryGetValue(key, out value) instead of checking the existence of the key by calling Dictionary.Contains(key) before returning the value.