You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a preference for strings, as we can prefix them with @. Next, the representation could be identical to the result, which I believe is more intuitive:
If the element has been schema-validated, the types of the items in the atomized value are retained.
Does the example imply that the string value of the price element is of type xs:decimal, due to schema validation?
Would it be possible/reasonable to include an ideally self-contained example that shows how a user may end up with a map that contains numbers? I guess there will be no chance to achieve this for ad-hoc data and without the full XSD machinery?
But I see your point, and I did not consider in my suggestion that we are creating maps (not JSON), which makes the challenge much more complex. I will be happy to close this if no one else jumps in.
Copied from #1592 (comment):
With regard to types, I would propose to introduce a separate option:
I have a preference for strings, as we can prefix them with
@
. Next, the representation could be identical to the result, which I believe is more intuitive:Of course, we could also have two options (
element-types
,attribute-types
).The text was updated successfully, but these errors were encountered: