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

3
LINES

< > BotCompany Repo | #1030327 // safeUnstructMapAllowingClasses - safe-unstructure, but allowing a few main$ classes, takes Class references, so "safe code"-safe (haha)

JavaX fragment (include)

static Map safeUnstructMapAllowingClasses(S s, Class... allowedClasses) {
  ret (Map) safeUnstructureAllowingClasses(s, allowedClasses);
}

Author comment

Began life as a copy of #1030120

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030327
Snippet name: safeUnstructMapAllowingClasses - safe-unstructure, but allowing a few main$ classes, takes Class references, so "safe code"-safe (haha)
Eternal ID of this version: #1030327/1
Text MD5: d96fcd7505630396453b5dc6dc2d4ff1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-02 23:30:33
Source code size: 140 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 227 / 263
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1030333 - safeUnstructListAllowingClasses - safeUnstructList, but allowing a few main$ classes