I am attempting to read in the following json using the jackson java library:
"WeirdData": {
"07f072ea-80c9-4fac-8235-2e1e6576ce2e": "crapapple"
},
How should the model look like to be able to be able to read above json into a class, can this even be done?
class SponsorEntityIdsData {
@JsonProperty("GUID")
var id: String? = null
var name: String? = null
}
this is part of major blob of data? Did you cut the example off of the complete JSON content? If so, we'd need a minimal, yet complete example of said blob/JSON.