Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: allow an exporter to be registered for a base class #5

Open
BBI-YggyKing opened this issue May 21, 2014 · 0 comments
Open

Comments

@BBI-YggyKing
Copy link

Currently JsonMapper.RegisterExporter only registers an exporter for a specific type T. Additional type S derived from T will not use the registered exporter. An "bool inherit" flag passed to RegisterExporter (default false) would be useful.

This could, for example, allow all UnityEngine.Objects to be exported by their name. (Yes, I realize this wouldn't work at import time.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants