Re: [Pharo-users] NeoJSON "conditional" parsing/mapping

2017-07-30 Thread Esteban A. Maringolo
2017-07-26 18:36 GMT-03:00 Sven Van Caekenberghe : > Esteban, > > I had a quick look at the spec you mentioned. > > I am a bit puzzled though. Result can be anything, so how are you going to > map that to specific classes (and why) ? > That would require serious prior knowledge and

Re: [Pharo-users] NeoJSON "conditional" parsing/mapping

2017-07-26 Thread Sven Van Caekenberghe
Esteban, I had a quick look at the spec you mentioned. I am a bit puzzled though. Result can be anything, so how are you going to map that to specific classes (and why) ? That would require serious prior knowledge and even then, not every situation can be mapped easily to a class. You speak

[Pharo-users] NeoJSON "conditional" parsing/mapping

2017-07-25 Thread Esteban A. Maringolo
Hi Sven, all, I'm working on a JSON-RPC client, I started using LtJsonRpcClient, but since it's based on the "legacy" JSON package I decided to try to adapt it to use NeoJSON. So I created a NeoJSONRPCClient based on LtJson... because... why not. At its core JSON-RPC is a pretty simple protocol,