Skip to content

[Converter]: number in example is not populated #1

@thmue

Description

@thmue

Thank you for this great library, it looks very promising.

While i was trying out the converter with the book example (https://clickin.github.io/stax-xml/converter/getting-started/#quick-example) i observed that the number fields are not populated:

{
    "title": "The Great Gatsby",
    "author": "F. Scott Fitzgerald",
    "year": "",
    "price": ""
}

expected:

{
    "title": "The Great Gatsby",
    "author": "F. Scott Fitzgerald",
    "year": 1925,
    "price": 10.99
}

if i change the fields to x.string the fields are populated as strings.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions