static L jsonDecodeList(S s) { O o = jsonDecode(s); if (o instanceof L) ret (L) o; if (o instanceof Map && empty((Map) o)) ret ll(); else fail("Not a JSON list: " + s); }
Began life as a copy of #1001918
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008308 |
Snippet name: | jsonDecodeList |
Eternal ID of this version: | #1008308/2 |
Text MD5: | 5919982cf047b60cc5b2b1681dc80f53 |
Author: | stefan |
Category: | javax / json |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-07 02:15:10 |
Source code size: | 198 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 513 / 548 |
Version history: | 1 change(s) |
Referenced in: | [show references] |