static Map jsonDecodeMapOrNull(S json) { json = trim(json); ret empty(json) ? null : jsonDecodeMap(json); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1023549 |
| Snippet name: | jsonDecodeMapOrNull - null if string empty after trim |
| Eternal ID of this version: | #1023549/1 |
| Text MD5: | 09ef7b026bef20345284009e3b546fef |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-06-28 00:36:10 |
| Source code size: | 114 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 459 / 513 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |