-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
./hall_request_assigner --input '
{
"hallRequests" :
[[false,false],[true,false],[false,false],[false,true]],
"states" : {
"one" : {
"behaviour":"moving",
"floor":2,
"direction":"up",
"cabRequests":[false,false,true,true]
},
"two" : {
"behaviour":"idle",
"floor":0,
"direction":"stop",
"cabRequests":[false,false,false,false]
}
}
}'
jsonx.JsonException@d-json/jsonx.d(614): Expected {, saw
----------------
d-json/jsonx.d:104 pure @safe void jsonx.enforceChar!(immutable(char)[]).enforceChar(ref immutable(char)[], char, bool) [0x4ef1c6]
d-json/jsonx.d:305 main.Input jsonx.jsonDecode_impl!(main.Input, immutable(char)[]).jsonDecode_impl(ref immutable(char)[]) [0x4eef7b]
d-json/jsonx.d:58 main.Input jsonx.jsonDecode!(main.Input, immutable(char)[]).jsonDecode(immutable(char)[]) [0x4eeef0]
main.d:34 _Dmain [0x4c2688]
??:? _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv [0x4fcab2]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x4fca08]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll() [0x4fca6e]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x4fca08]
??:? _d_run_main [0x4fc965]
??:? main [0x4d7e2f]
??:? __libc_start_main [0x710630b2]
Reproducible with both exectubale from "releases" and by building hall_request_assigner from build.sh. Input is copied straight from "example input" in README.md.
pavelskipenes
Metadata
Metadata
Assignees
Labels
No labels