Options for xsd2json?
Is there the possibility, to add option-parameters to xsd2json :-)? E.g. it would be nice, if the user could handle, if the result file should contain "$ref"s or not?!
Thanks again!
What do you mean by containing $ref or not? Could you please provide an example of two possible results, depending on your option?
The example is the following. Just wanted maybe an option, so the user could decide, if he wants result number one (top) or number two (bottom) - I know, actually its right to resolve it to such a declaration with "$ref".
Example: http://jsfiddle.net/PiQ99/vz3mcm7g/1/
Okay, I will have a look at it. This flag would also prevent some hiccups as stated in #18 where you want to resolve a type that has not been included explicitly.