Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1001920 // Test jsonDecode with numbers (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (8521L/60K).

1  
!7
2  
3  
p-exp {
4  
  assertEqualsVerbose_struct(-12, jsonDecode("-12"));
5  
  print(jsonDecode("1e-9"));
6  
  print(jsonDecode("5.01"));
7  
  print(jsonDecode("5.02e7"));
8  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1001920
Snippet name: Test jsonDecode with numbers (OK)
Eternal ID of this version: #1001920/6
Text MD5: b08f4c1a206a45e3dd0e9055adc69358
Transpilation MD5: 6a5d8a5d14e4330f1ecd4dafec1baffd
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-11 22:34:45
Source code size: 163 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 799 / 1487
Version history: 5 change(s)
Referenced in: [show references]