Valentyn Kolesnikov

Results 67 comments of Valentyn Kolesnikov

```xml . . ``` may be converted to ```json { "First": { "Second": " . . " }, "#omit-xml-declaration": "yes" } ```

You may add `removeBom()` method. ```java private static byte[] removeBom(byte[] bytes) { if ((bytes.length >= 3) && (bytes[0] == -17) && (bytes[1] == -69) && (bytes[2] == -65)) { return...

I found bom bytes for xml with encoding UTF-16 and UTF-32.

@L4grange I found usual xml without BOM. http://prntscr.com/qlp122

I found an example. [itemdescription_20140527014836.xml.zip](https://github.com/smart-fun/XmlToJson/files/4048950/itemdescription_20140527014836.xml.zip)

The resulted json ```json { "Text": { "#text": "Markers of EGFR signaling were higher in EGF-treated mice. ", "mml:math": [ { "-xmlns:mml": "http://www.w3.org/1998/Math/MathML", "mml:mrow": { "mml:mtext": [ "EGF", { "#item":...

Hi @InnCreator, You may try this json ```json { "Questions": { "Question": [ { }, { }, { } ] }, "#omit-xml-declaration": "yes" } ```

It may be an error message: org.xml.sax.SAXParseException; lineNumber: 7; columnNumber: 11; XML document structures must start and end within the same entity.

It may be converted to json ```json { "AppSettings": { "Type": "Host Interface", "SupportIP": "Y", "ReversalFile": "rev.l", "MaxTokenLength": "32", "EDC": { "CREDIT": { "ShowName": "CREDIT", "PrintName": "Credit", "MinCardLength": "13", "MaxCardLength":...

@steinbeck these changes allows to reuse class from cdk.