Skip to content

org.json.JSONException: JSON does not allow non-finite numbers #385

@sivaramansv

Description

@sivaramansv

I have the following section in my XML document:
<dataId dt:dt="string">a98b174b86b54d7bb007d665382821d3</dataId>
and I am using the jar file json-20171018 for converting the XML document to JSON.

I am getting the following error:
org.json.JSONException: JSON does not allow non-finite numbers.
at org.json.JSONObject.testValidity(JSONObject.java:1261)

It has been told that it has been fixed, but I am getting the same error. Is there any workaround for this?
#27

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions