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

221
LINES

< > BotCompany Repo | #1001355 // unstructure (opposite of "structure") - restores data structures from a string (old)

JavaX fragment (include)

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_6d1q6rt1mvae6i1b2prrblmnik, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
{"1000567":"isInteger","1000659":"fail functions (improved)","1000688":"javaTok function - Java + JavaX tokenizer, but parses just about anything","1000810":"join function + array version","1001136":"nuObject - calls constructor with arguments","1001137":"findClass","1001138":"isJavaIdentifier","1001696":"parseDouble","1001735":"unquote - opposite of quote. also takes single quoted strings","1001870":"newObject - synonym of nuObject","1002048":"dropSuffix - note the (maybe) curious argument order","1002310":"subList function - use instead of List.subList","1002545":"isLongConstant","1005595":"quote - Java-compatible string quoting with \"\". now also escapes \\t","1005598":"setOpt, setOpt_findField, optimized for objects (but not for classes yet, LIVE)","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1013436":"parseList","1025740":"parseBigInt","1031744":"DynamicObject (imported from core - see #1004543)","1035798":"unstructure (v20, introducing the Unstructurer class, LIVE)"} at main.fail(m1008705.java:1589) at main$jsonDecode_Y.fail_base(m1008705.java:14008) at main$jsonDecode_Y.fail(m1008705.java:14006) at main$jsonDecode_Y.parseExpr(m1008705.java:14058) at main$jsonDecode_Y.parse(m1008705.java:14012) at main.jsonDecode(m1008705.java:13990) at main.jsonDecodeMap(m1008705.java:12844) at main.getSnippetTitles(m1008705.java:10820) at main$JavaXHyperlinker.codeToHTML(m1008705.java:6209) at main.html2(m1008705.java:85) at main.html(m1008705.java:67) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.callOpt_withVarargs(m1008705.java:4387) at main.callOpt(m1008705.java:3326) at main.callHtmlMethod2(m1008705.java:11404) at main$MyHTTPD$1.get(m1008705.java:7337) at main$MyHTTPD$1.get(m1008705.java:1) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.safeCallF(m1008705.java:642) at main.callF(m1008705.java:611) at main$MyHTTPD.serve(m1008705.java:7373) at main$NanoHTTPD.serve_2(m1008705.java:9572) at main$NanoHTTPD.serve(m1008705.java:9553) at main$NanoHTTPD$HTTPSession.execute(m1008705.java:8453) at main$NanoHTTPD$ClientHandler.run(m1008705.java:7829) at java.base/java.lang.Thread.run(Thread.java:833)

Author comment

Began life as a copy of #1001061

now uses setOpt...

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: #1001355
Snippet name: unstructure (opposite of "structure") - restores data structures from a string (old)
Eternal ID of this version: #1001355/1
Text MD5: 0864a35d78dc7feba9482337302dbd17
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-11-28 23:39:58
Source code size: 5697 bytes / 221 lines
Pitched / IR pitched: No / No
Views / Downloads: 1052 / 4001
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1003021 - unstructure with back references
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)