title: Efficient parser to convert XML to JSON in java without JsonObject and Array
body: <p>I tried to convert XML to JSON in java. I am using Stax parser for Conversion. After getting START_ELEMENT, END_ELEMENT, CHARACTERS, I don't know how to convert it to JSON Format. Not use any inbuilt libraries, JsonObject, JSonArray.IS any logic available For this conversion...</p>