Alexey Valikov
Alexey Valikov
> If a pattern is specified and nothing is found, I think it is an error. It should at least inform the user that something is strange. A pattern is...
Hi, no, not necessary. I've just a bit to much stress at work, don't come to OS things. Best wishes, Alexey
Please provide a MCVE. I've tried your schema and your XML file. Worked OOTB from the start: https://github.com/highsource/jsonix-support/tree/master/f/fugamusic This is what your XML looks like in JSON: ``` { "name":...
You can implement and register a custom `boolean`ish type for this. Let me know if you would like to give it a try, I'll try to provide pointers.
Ok. Start by writing your own boolean type. See: https://github.com/highsource/jsonix/blob/master/scripts/src/main/javascript/org/hisrc/jsonix/Jsonix/Schema/XSD/Boolean.js You can subclass `Jsonix.Schema.XSD.Boolean` or write one from the scratch, that's fairly simple.
The you can use your type in your mappings. An example is here: https://github.com/highsource/jsonix/issues/157
I even think you can override the default `Boolean` type like this.
No, there is no such way at the moment. Jsonix uses `XMLSerializer` for serialization and it does not support pretty printing.
Master JS files are here: scripts\src\main\javascript\... The file you've changed is generated.
I wonder if you'd really want to configure the CDATA condition per property. I was thinking of some global setting (i.e. per context/marshaller).