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

16
LINES

< > BotCompany Repo | #1021623 // Extract Unicode Emoji List [OK]

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

Download Jar. Libraryless. Click here for Pure Java version (6180L/43K).

1  
!7
2  
3  
p-exp {
4  
  S json = gunzipTextSnippet(#1400186);
5  
  Map map = jsonDecodeMap(json);
6  
  //pnl(keys(map));
7  
  for (L<Map<S, O>> l : (Collection<L<Map<S, O>>>) values(map)) {
8  
    for (Map<S, O> item : l) {
9  
      //printStruct(item);
10  
      S code = getString code(item);
11  
      if (containsSpace(code)) continue; // skip those for now
12  
      LS keywords = cast get keywords(item);
13  
      print(code + " = " + joinWithSpacedPlus(keywords));
14  
    }
15  
  }
16  
}

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: #1021623
Snippet name: Extract Unicode Emoji List [OK]
Eternal ID of this version: #1021623/6
Text MD5: 7d0a16f2142dc3f7dcf8319cf0c55347
Transpilation MD5: 3e3afcbc686520faf13826314216a096
Author: stefan
Category: javax / unicode
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-22 13:58:56
Source code size: 458 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 364 / 1055
Version history: 5 change(s)
Referenced in: [show references]