You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The single point here is the "type" in the JSON data. Based on this value, which can be a number of different actions, we wish to process the body data with a specific data class.
Expected feature
The ability to read the parent data, something like the following.
The parent data is passed and possible to read from the ClassMap function, here named determineClass.
Based on parent->type we process the data and return the correct class.
In #209 I requested that the full ancestor stack shall be passed as array, instead of only the direct parent value.
Patches need to implement that requirement.
Today the classMap function does not pass on the parent json array.
This makes it impossible to make a change due to a specific value in the parent.
A feature update was declined in #209. Due to this I'm make a Issue ticke to describe the requested feature for implementation
Case
We have a JSON with the following data
The single point here is the "type" in the JSON data. Based on this value, which can be a number of different actions, we wish to process the body data with a specific data class.
Expected feature
The ability to read the parent data, something like the following.
The parent data is passed and possible to read from the ClassMap function, here named
determineClass
.Based on parent->type we process the data and return the correct class.
The text was updated successfully, but these errors were encountered: