Skip to content
New issue

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

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

Already on GitHub? # to your account

JSON to Spark-JSON produces non well-formed JSON #13

Open
jeromesimeon opened this issue Aug 3, 2016 · 0 comments
Open

JSON to Spark-JSON produces non well-formed JSON #13

jeromesimeon opened this issue Aug 3, 2016 · 0 comments
Labels

Comments

@jeromesimeon
Copy link
Member

In some cases, the JSON to SparkJSON data conversion produces irregular JSON. The main issue is with non-integer numbers, which get printed without digits after the decimal point. e.g.:

{"$data": "{"balance": 0., "customer": {"left": "10"}, "id": "0", "lastCheckTime": {"right": null}, "status": "Good"}", "$type": ["creditcard.Account"]}

Note the '0.' for the balance field.

@jeromesimeon jeromesimeon changed the title JSON to Spark-JSON input Produces non well-formed JSON JSON to Spark-JSON produces non well-formed JSON Aug 3, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant