This is a paid asset, but now you can download Native SerializableDictionary [Classless] for FREE, but please remember this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Detail this asset from Unity Store: Original Link
Native SerializableDictionary [Classless] v1.0
This is a Dictionary which is serializable in the inspector and is fully JSON serialization compatible. It is made to be as lightweight as possible and supports Unity types being JSON serialized.
SerializableDictionary is a Dictionary
which does not require you to create
any classes for different types.
It doesn’t use any custom editor
inspector drawing, any extra or external
extensions, or libraries.
It is fully native to the Unity C#
Environment and displays in the
Inspector using your Unity version.
It is created as the most lightweight,
openly customizable, and extensible
SerializableDictionary while also
including a boxing method for Unity
types so they can be JSON Serializable.
I appreciate all feedback and would love to hear any suggestions to improve this asset. Please leave a comment describing any desired changes, new features, and/or extended support.
Dictionary natively serializable in the inspector window
JSON serializable
Boxing for JSON serializing Unity types like Vector3
Implicit conversion from Dictionary to SerializableDictionary
Zero overhead from custom implementations
No need to create any extra classes to use it
It implements Dictionary directly and is used as one
Auto-saves all key and value changes
It will wait for null and duplicate entries to be resolved by you before saving those specific entries