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

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

!7

p-exp {
  assertEqualsVerbose_struct(-12, jsonDecode("-12"));
  print(jsonDecode("1e-9"));
  print(jsonDecode("5.01"));
  print(jsonDecode("5.02e7"));
}

download  show line numbers  debug dex   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, 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: 398 / 401
Version history: 5 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1001920 & http://1001920.tinybrain.de