Support for non-string keys when serializing TabularData #97
Milestone
Comments
rhuss
added a commit
that referenced
this issue
Apr 18, 2013
This fix will be reconsidered for 2.0 where we hopefully will have the original string-to-object converter in place within the TabularData extractor so that the code doesn't need to be duplicated and more types will be supported.
Quick fix added, I also just pushed out a 1.1.2-SNAPSHOT to labs.consol.de |
Fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Up to now, when accessing an MBean attribute of type
TabularData
with a path, then only string keys are supported for the path attributes.See this dicussion . This is the spot in the source.
Since we already know how to convert a string to an OpenType this should be a big deal, however, at this place we unfortunately don't have access to this string-to-object converter.
For the short term (1.1.2), I'll add (and somewhat duplicate) conversion string-to-simple type in the
TabularDataExtractor
.For the mid to long term (2.0) I'm doing quite some refactoring in order to improve modularity. Here it will be possible for the TabularDataExtractor to access the other converters, too and hence can convert any open type from a string.
The text was updated successfully, but these errors were encountered: