In my project, I need subject support dict, like this subject={"uid":1, "scope":"AdminScope"},
I can find the corresponding class AdminScope by reflection,
But now only support int and strings.
I can only do this by concatenating strings, which is a hassle rather than using dict directly
In my project, I need subject support dict, like this
subject={"uid":1, "scope":"AdminScope"}
, I can find the corresponding class AdminScope by reflection, But now only support int and strings. I can only do this by concatenating strings, which is a hassle rather than using dict directly