Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A question about numeric data #37

Open
aborruso opened this issue Nov 26, 2015 · 0 comments
Open

A question about numeric data #37

aborruso opened this issue Nov 26, 2015 · 0 comments

Comments

@aborruso
Copy link

Hi,
in your example output, it seems that numeric fields (creditLimit and salesRepEmployeeNumber) is exported as text fields:

[
{
    "id": "114",
    "customerName": "Australian Collectors, Co.",
    "contactLastName": "Ferguson",
    "contactFirstName": "Peter",
    "phone": "123456",
    "addressLine1": "636 St Kilda Road",
    "addressLine2": "Level 3",
    "city": "Melbourne",
    "state": "Victoria",
    "postalCode": "3004",
    "country": "Australia",
    "salesRepEmployeeNumber": "1611",
    "creditLimit": "117300"
},
...

]

It should be (without double quotes):

[
{
    "id": "114",
    "customerName": "Australian Collectors, Co.",
    "contactLastName": "Ferguson",
    "contactFirstName": "Peter",
    "phone": "123456",
    "addressLine1": "636 St Kilda Road",
    "addressLine2": "Level 3",
    "city": "Melbourne",
    "state": "Victoria",
    "postalCode": "3004",
    "country": "Australia",
    "salesRepEmployeeNumber": 1611,
    "creditLimit": 117300
},
...

]

Am I wrong? I have the some result with sqlite db of mine with all numeric fields.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant