We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
While using this library, I found a bug which I am reporting as below
Value like 99921-58-10-7 is encoded as 99921 in json
Input XML
<?xml version="1.0"?> <Book> <name>Sample Book Name</name> <author>New Author</author> <ISBN>99921-58-10-7</ISBN> <price>102.50</price> </Book>
Output JSON
{ "Book": { "name": "Sample Book Name", "author": "New Author", "ISBN": 99921, "price": 102.5 } }
The text was updated successfully, but these errors were encountered:
Fix for Cheedoong#17 : Incorrect data encoded in json when numeric su…
d152fc1
…pport is enabled
may be converted to the
{ "Book": { "name": "Sample Book Name", "author": "New Author", "ISBN": "99921-58-10-7", "price": "102.50" } }
Sorry, something went wrong.
Hello @javadev , the issue is when we enable numeric support and try to convert the xml.
Kindly change it in xml2json.hpp (line 32) and try again
static const bool xml2json_numeric_support = true;
No branches or pull requests
Hello,
While using this library, I found a bug which I am reporting as below
Input XML
Output JSON
The text was updated successfully, but these errors were encountered: