Formatting JSON truncates number
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 3
- Joined: Mon Feb 08, 2016 6:27 pm
Formatting JSON truncates number
Post by tatternutz »
Code: Select all
{"value": 8.00,"type": "CURRENCY","name": "LLC_BI__Amount__c","label": "Original Amount","isRequired": false}
Code: Select all
{
"value": 8,
"type": "CURRENCY",
"name": "LLC_BI__Amount__c",
"label": "Original Amount",
"isRequired": false
}
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Formatting JSON truncates number
Hi,
Sorry but we do not have a setting for this. I will add an issue for this on our side. Right now the format and indent loads the JSON as an internal object and then serializes it, thus forgetting the original format for numbers and sometimes like in your case outputting an equivalent.
Regards,
Radu
Sorry but we do not have a setting for this. I will add an issue for this on our side. Right now the format and indent loads the JSON as an internal object and then serializes it, thus forgetting the original format for numbers and sometimes like in your case outputting an equivalent.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Formatting JSON truncates number
Hi,
Just to update this thread, we released Oxygen 20.1 which along lots of other JSON-related improvements also has a fix for this.
Regards,
Radu
Just to update this thread, we released Oxygen 20.1 which along lots of other JSON-related improvements also has a fix for this.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service