Category "unmarshalling"

Unmarshalling json to structure using json.RawMessage

I need to unmarshal json object which may have the following formats: Format1: { "contactType": 2, "value": "0123456789" } Format2: { "contactType"

Unmarshalling an XML using Xpath expression and jaxb

I am new to JAXB and would like to know if there is a way by which I can unmarshall an XML to my response object but using xpath expressions. The issue is that