Fabrizio Montesi

Results 105 comments of Fabrizio Montesi

Mmh, a tough one... there's no good answer to whether a Jolie `void` should be a `null` or `{}`. We chose `null` because it seems to be used a lot....

Mmh, we still have some work to do. I agree that using a "null" node (`_EMPTYOBJECT`) would pollute the data structure. But unfortunately, so would `"$JSON_NULL"` when interacting with another...

OK, here's a typical Gordian Knot solution: let's pass a parameter to JsonUtils that tells whether we should write `{}` (the default in case of no parameter specified) or `null`...

@xpicox I wonder if the latest modification to `isDefined` and `is_defined` might actually fix this... thoughts? Maybe it works already in `master`? :)

No, nevermind, unfortunately it doesn't. :-\ We still have the problem that an "empty" but defined subnode can be encoded to either `null` or `{}`.

@bmaschio @mwallnoefer it might be that we have a problem with the POM file for localsocket, it talks about JSONRpc, bad copy-paste? :-) https://github.com/jolie/jolie/blob/master/extensions/localsocket/pom.xml

Awesome, thanks! :-))

Confirmed (thanks for the mini-test .zip). I'll have a look as soon as I can, this needs running the debugger.. by the way, I've pushed some .vscode settings with a...

No but I got a bit further. The server gets stuck here: ![Screenshot_20201005_124653](https://user-images.githubusercontent.com/2077129/95070746-d9caa000-0708-11eb-8f83-f865688f6c5d.png) So it looks like SODEP can read the first long, and then it gets stuck when reading...

@bmaschio, @klag, have you discussed this perhaps? If not, feel free to make it an item of the next Jolie weekly meeting, if you like.